Browse Source

recognize players correctly for givecoin

tBKwtWS 7 years ago
parent
commit
058c4d02cc
1 changed files with 1 additions and 1 deletions
  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:
             elif coin < 1:
                 connection.privmsg(replyto, "You have no coin to give.")
                 connection.privmsg(replyto, "You have no coin to give.")
                 return
                 return
-            elif receivingrecord:
+            elif not receivingrecord:
                 connection.action(replyto, "does not know of any \"" + red + trigger.split()[1] + reset + "\".")
                 connection.action(replyto, "does not know of any \"" + red + trigger.split()[1] + reset + "\".")
                 return
                 return
             elif receivingrecord[0] == 0:
             elif receivingrecord[0] == 0: