Explorar o código

recognize players correctly for givecoin

tBKwtWS %!s(int64=7) %!d(string=hai) anos
pai
achega
058c4d02cc
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      irc/commands/games.py

+ 1 - 1
irc/commands/games.py

@@ -225,7 +225,7 @@ def do_command(self, connection, event):
             elif coin < 1:
                 connection.privmsg(replyto, "You have no coin to give.")
                 return
-            elif receivingrecord:
+            elif not receivingrecord:
                 connection.action(replyto, "does not know of any \"" + red + trigger.split()[1] + reset + "\".")
                 return
             elif receivingrecord[0] == 0: