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/bots.h | |
| parent | 04200cc8382519c8ea18d214002bc0f063be7d3c (diff) | |
Rewrote the hashing systems to properly handle the new Anope::strings which we have everywhere.
Diffstat (limited to 'include/bots.h')
| -rw-r--r-- | include/bots.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/bots.h b/include/bots.h index 3d35f569e..7dc81d22d 100644 --- a/include/bots.h +++ b/include/bots.h @@ -12,8 +12,8 @@ class BotInfo; -typedef unordered_map_namespace::unordered_map<Anope::string, BotInfo *, hash_compare_ci_string> botinfo_map; -typedef unordered_map_namespace::unordered_map<Anope::string, BotInfo *, hash_compare_std_string> botinfo_uid_map; +typedef unordered_map_namespace::unordered_map<Anope::string, BotInfo *, ci::hash, std::equal_to<ci::string> > botinfo_map; +typedef unordered_map_namespace::unordered_map<Anope::string, BotInfo *, Anope::hash> botinfo_uid_map; extern CoreExport botinfo_map BotListByNick; extern CoreExport botinfo_uid_map BotListByUID; |
