summaryrefslogtreecommitdiff
path: root/src/map/itemdb.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-12-02 13:18:39 -0200
committershennetsind <ind@henn.et>2013-12-02 13:18:39 -0200
commit95581cedd9a89d8eac918bdc77c1a98e017abc46 (patch)
tree2dec92f4a0a9913de607741bd7d7224d8241409c /src/map/itemdb.c
parente46ca28bddd673f8217456297f596e0fe3c67609 (diff)
parent9f210e13ce08340fc4920311518187e8a03a636f (diff)
downloadhercules-95581cedd9a89d8eac918bdc77c1a98e017abc46.tar.gz
hercules-95581cedd9a89d8eac918bdc77c1a98e017abc46.tar.bz2
hercules-95581cedd9a89d8eac918bdc77c1a98e017abc46.tar.xz
hercules-95581cedd9a89d8eac918bdc77c1a98e017abc46.zip
Merge branch 'master' of https://github.com/HerculesWS/Hercules
Diffstat (limited to 'src/map/itemdb.c')
-rw-r--r--src/map/itemdb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/itemdb.c b/src/map/itemdb.c
index dc4559483..8a7e34ceb 100644
--- a/src/map/itemdb.c
+++ b/src/map/itemdb.c
@@ -37,7 +37,7 @@ int itemdb_searchname_sub(DBKey key, DBData *data, va_list ap)
//Absolute priority to Aegis code name.
if (*dst != NULL) return 0;
- if( strcmpi(item->name,str)==0 )
+ if( strcmp(item->name,str)==0 ) // Case sensitive
*dst=item;
//Second priority to Client displayed name.
@@ -61,7 +61,7 @@ struct item_data* itemdb_searchname(const char *str) {
continue;
// Absolute priority to Aegis code name.
- if( strcasecmp(item->name,str) == 0 )
+ if( strcmp(item->name,str) == 0 ) // Case sensitive
return item;
//Second priority to Client displayed name.