diff options
Diffstat (limited to 'include/services.h')
| -rw-r--r-- | include/services.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/services.h b/include/services.h index 1b14f5e88..182444238 100644 --- a/include/services.h +++ b/include/services.h @@ -195,6 +195,7 @@ extern "C" void __pfnBkCheck() {} #include <set> #include "anope.h" +#include "patricia.h" /** This class can be used on its own to represent an exception, or derived to represent a module-specific exception. * When a module whishes to abort, e.g. within a constructor, it should throw an exception using ModuleException or @@ -844,8 +845,7 @@ struct Exception /*************************************************************************/ -typedef unordered_map_namespace::unordered_map<Anope::string, Session *, Anope::hash> session_map; -extern CoreExport session_map SessionList; +extern CoreExport patricia_tree<Session> SessionList; struct Session { |
