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

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

No files matched your search

+1
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) {