Explorar o código

ap givecoin fix.

tBKwtWS %!s(int64=7) %!d(string=hai) anos
pai
achega
4315b6396b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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: