Ver código fonte

ap givecoin fix.

tBKwtWS 7 anos atrás
pai
commit
4315b6396b
1 arquivos alterados com 1 adições e 1 exclusões
  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: