summaryrefslogtreecommitdiff
path: root/src/common/mapindex.c
diff options
context:
space:
mode:
authorshennetsind <notind@gmail.com>2013-06-08 12:46:37 -0700
committershennetsind <notind@gmail.com>2013-06-08 12:46:37 -0700
commit9fdea24a67a39e86c2ae4dd032f08021b35942dc (patch)
treefeea3cd428cee18be3da9bf0bee6d4570d9cad02 /src/common/mapindex.c
parentb0f866ca419d87fcb3625b45e2437e0a0bb1810e (diff)
parentd73783f22b2bb881aab74524d153d89a5932a199 (diff)
downloadhercules-9fdea24a67a39e86c2ae4dd032f08021b35942dc.tar.gz
hercules-9fdea24a67a39e86c2ae4dd032f08021b35942dc.tar.bz2
hercules-9fdea24a67a39e86c2ae4dd032f08021b35942dc.tar.xz
hercules-9fdea24a67a39e86c2ae4dd032f08021b35942dc.zip
Merge pull request #4 from Earisu/master
Attempt to Merge Earisu's Hercules
Diffstat (limited to 'src/common/mapindex.c')
-rw-r--r--src/common/mapindex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/mapindex.c b/src/common/mapindex.c
index 4649e299d..83de21b2b 100644
--- a/src/common/mapindex.c
+++ b/src/common/mapindex.c
@@ -148,7 +148,7 @@ void mapindex_init(void) {
exit(EXIT_FAILURE); //Server can't really run without this file.
}
memset (&indexes, 0, sizeof (indexes));
- mapindex_db = strdb_alloc(DB_RELEASE_KEY, MAP_NAME_LENGTH);
+ mapindex_db = strdb_alloc(DB_OPT_DUP_KEY, MAP_NAME_LENGTH);
while(fgets(line, sizeof(line), fp)) {
if(line[0] == '/' && line[1] == '/')
continue;