Typos.
authorCMDR furrycat <elite@furrycat.net>
Thu, 27 Oct 2016 09:19:50 +0000 (10:19 +0100)
committerCMDR furrycat <elite@furrycat.net>
Thu, 27 Oct 2016 10:19:16 +0000 (11:19 +0100)
bot.py

diff --git a/bot.py b/bot.py
index b0e1fb6..cd43bf5 100644 (file)
--- a/bot.py
+++ b/bot.py
@@ -196,7 +196,7 @@ def voice_channel_for_user(user):
     if not member:
       continue
     voice_channel = member.voice_channel
-    if voice_channel is None:
+    if voice_channel is not None:
       if voice_channel.server in client.servers:
         return voice_channel