소스 검색

ap givecoin fix.

tBKwtWS 7 년 전
부모
커밋
4315b6396b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      irc/commands/games.py

+ 1 - 1
irc/commands/games.py

@@ -234,7 +234,7 @@ def do_command(self, connection, event):
             elif receivingrecord[1] == True:
                 connection.privmsg(replyto, red + trigger.split()[1] + reset + "is not here right now.")
                 return
-            elif apspent >= xp:
+            elif apspent >= totalxp:
                 connection.privmsg(replyto, "You have no action points, go use IRC some more...")
                 return
             if len(command.split()) == 2: