From 17033910747e0e2a5d42583934fb292dd55ff599 Mon Sep 17 00:00:00 2001 From: dipesh Date: Sat, 8 Oct 2011 16:31:01 +0100 Subject: oops --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 235337f..4b50b60 100755 --- a/main.py +++ b/main.py @@ -48,7 +48,7 @@ def process_whisper(nick, msg, mapserv): if user != -10: if int(user.get("accesslevel")) == -1: # A user who has been blocked for abuse. - if int(user.get("used_slots")) == 0 and int(user.get("money")) == 0: + if int(user.get("used_stalls")) == 0 and int(user.get("money")) == 0: mapserv.sendall(whisper(nick, "You can no longer use the bot. If you feel this is in error, please contact" + config.admin)) return allowed_commands = ['!money', '!help', '!getback', '!info' ] -- cgit v1.2.3-60-g2f50