소스 검색

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: