Fixed possible bot loops, as well as self-moderation.

This commit is contained in:
Master Kwoth
2016-03-19 09:34:28 +01:00
parent d2698f84ca
commit 8304d915d4
9 changed files with 10 additions and 8 deletions

View File

@ -96,6 +96,7 @@ namespace NadekoBot.Classes.Trivia {
try {
if (e.Channel.IsPrivate) return;
if (e.Server != server) return;
if (e.User.Id == NadekoBot.Client.CurrentUser.Id) return;
var guess = false;
lock (_guessLock) {