|
|
@@ -218,7 +218,7 @@ def do_command(self, connection, event):
|
|
|
return
|
|
|
elif len(command.split()) == 3:
|
|
|
try:
|
|
|
- if str(command.split()[2]) < 0:
|
|
|
+ if int(command.split()[2]) < 0:
|
|
|
connection.privmsg(replyto, "You clever abuser! The " + red + self.cmdchar + bold + "give" + bold + "coin" + reset + " command is not designed for robbing. There will be consequences...")
|
|
|
self.db.run("UPDATE users SET coin=coin-3, karma_correction=karma_correction-0.5 WHERE name=%s", (event.source.nick))
|
|
|
return
|