瀏覽代碼

recognize players correctly for givecoin

tBKwtWS 7 年之前
父節點
當前提交
058c4d02cc
共有 1 個文件被更改,包括 1 次插入1 次删除
  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: