summaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
authorDipesh Amin <yaypunkrock@gmail.com>2011-08-24 01:48:16 +0100
committerDipesh Amin <yaypunkrock@gmail.com>2011-08-24 01:48:16 +0100
commit9c47ad7295661bf3577dfb48d92358f11cff3276 (patch)
tree7017ddab11370754c2ca5635a5b2d24644c1a9b0 /main.py
parent2cd71629569e8501667f3243cad50b8aa3a2efd6 (diff)
downloadmanamarket-9c47ad7295661bf3577dfb48d92358f11cff3276.tar.gz
manamarket-9c47ad7295661bf3577dfb48d92358f11cff3276.tar.bz2
manamarket-9c47ad7295661bf3577dfb48d92358f11cff3276.tar.xz
manamarket-9c47ad7295661bf3577dfb48d92358f11cff3276.zip
oops
Diffstat (limited to 'main.py')
-rwxr-xr-xmain.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.py b/main.py
index d275ffa..8247c2c 100755
--- a/main.py
+++ b/main.py
@@ -358,7 +358,7 @@ def process_whisper(nick, msg, mapserv):
mapserv.sendall(whisper(nick, "Item not found, check spelling."))
return
- if amount > 1 and 'equip' in ItemDB.getItem(ItemDB.findId(item_name)).type:
+ if amount > 1 and 'equip' in ItemDB.getItem(item_id).type:
mapserv.sendall(whisper(nick, "You can only add one piece of equiptment per slot."))
return
elif price == 0: