summaryrefslogtreecommitdiff
path: root/src/map/itemdb.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/itemdb.c')
-rw-r--r--src/map/itemdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/itemdb.c b/src/map/itemdb.c
index fcd6c804d..bce1989e5 100644
--- a/src/map/itemdb.c
+++ b/src/map/itemdb.c
@@ -74,7 +74,7 @@ struct item_data* itemdb_searchname(const char *str)
return item;
//Second priority to Client displayed name.
- if( strcasecmp(item->name,str) == 0 )
+ if( strcasecmp(item->jname,str) == 0 )
item2 = item;
}