diff options
| author | Adam <Adam@anope.org> | 2010-07-29 18:38:56 -0400 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2010-07-29 18:38:56 -0400 |
| commit | cc649031792af1e94c7701decd708aba4091d708 (patch) | |
| tree | ee936f487cbae10f782bd81a50c058f5d2c36c83 /include/account.h | |
| parent | 04200cc8382519c8ea18d214002bc0f063be7d3c (diff) | |
Rewrote the hashing systems to properly handle the new Anope::strings which we have everywhere.
Diffstat (limited to 'include/account.h')
| -rw-r--r-- | include/account.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/account.h b/include/account.h index 11fcc6767..c625c4e0e 100644 --- a/include/account.h +++ b/include/account.h @@ -7,9 +7,9 @@ class NickAlias; class NickCore; class NickRequest; -typedef unordered_map_namespace::unordered_map<Anope::string, NickAlias *, hash_compare_ci_string> nickalias_map; -typedef unordered_map_namespace::unordered_map<Anope::string, NickCore *, hash_compare_ci_string> nickcore_map; -typedef unordered_map_namespace::unordered_map<Anope::string, NickRequest *, hash_compare_ci_string> nickrequest_map; +typedef unordered_map_namespace::unordered_map<Anope::string, NickAlias *, ci::hash, std::equal_to<ci::string> > nickalias_map; +typedef unordered_map_namespace::unordered_map<Anope::string, NickCore *, ci::hash, std::equal_to<ci::string> > nickcore_map; +typedef unordered_map_namespace::unordered_map<Anope::string, NickRequest *, ci::hash, std::equal_to<ci::string> > nickrequest_map; extern CoreExport nickalias_map NickAliasList; extern CoreExport nickcore_map NickCoreList; |
