summaryrefslogtreecommitdiff
path: root/include/typedefs.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/typedefs.h')
-rw-r--r--include/typedefs.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/typedefs.h b/include/typedefs.h
index 06f704120..03593d40f 100644
--- a/include/typedefs.h
+++ b/include/typedefs.h
@@ -120,7 +120,11 @@ typedef std::map<std::string, file_cache> ConfigFileCache;
/** A hash of commands used by the core
*/
-typedef nspace::hash_map<std::string,Command*> Commandtable;
+#ifdef HASHMAP_DEPRECATED
+ typedef nspace::hash_map<std::string, Command*, nspace::insensitive, irc::StrHashComp> Commandtable;
+#else
+ typedef nspace::hash_map<std::string, Command*, nspace::hash<std::string>, irc::StrHashComp> Commandtable;
+#endif
/** Membership list of a channel */
typedef std::map<User*, Membership*> UserMembList;