summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordipesh <dipesh@lappy.(none)>2011-10-08 16:31:01 +0100
committerdipesh <dipesh@lappy.(none)>2011-10-08 16:31:01 +0100
commit17033910747e0e2a5d42583934fb292dd55ff599 (patch)
tree317eb0fbd133cdf6a04dc9f98a1a986f7ad74dbf
parent65dd5bdc27d21d51b2280e97e106fba16c0aed35 (diff)
downloadmanamarket-17033910747e0e2a5d42583934fb292dd55ff599.tar.gz
manamarket-17033910747e0e2a5d42583934fb292dd55ff599.tar.bz2
manamarket-17033910747e0e2a5d42583934fb292dd55ff599.tar.xz
manamarket-17033910747e0e2a5d42583934fb292dd55ff599.zip
oops
-rwxr-xr-xmain.py2
1 files changed, 1 insertions, 1 deletions
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' ]