Explorar el Código

recognize players correctly for givecoin

tBKwtWS hace 7 años
padre
commit
058c4d02cc
Se han modificado 1 ficheros con 1 adiciones y 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: