tBKwtWS vor 7 Jahren
Ursprung
Commit
5631c25c38
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      irc/commands/games.py

+ 1 - 1
irc/commands/games.py

@@ -217,7 +217,7 @@ def do_command(self, connection, event):
                 connection.privmsg(replyto, "You already have your own coin. For help type " + blue + self.helpchar + "givecoin" + reset + ".")
                 return
                 
-            level, xp, xpspent, karma, coin, coinspent, coingiven, apspent = GameHelpers.get_info(self, event.source.nick)
+            level, xp, xpspent, totalxp, karma, coin, coinspent, coingiven, apspent = GameHelpers.get_info(self, event.source.nick)
             receivingrecord = self.db.one("SELECT level, away FROM users WHERE LOWER(name)=%s AND network=%s", (command.split()[1], self.network, ))
             if level < 1:
                 connection.privmsg(replyto, "You need to " + blue + self.cmdchar + "levelup " + reset + "to be able to give coin.")