diff options
| author | Adam <Adam@drink-coca-cola.info> | 2010-05-14 20:35:38 -0400 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2010-06-18 21:01:53 -0400 |
| commit | f049124905bd9f53439293e873003cb027a17b91 (patch) | |
| tree | 352ed9251fd47055dd770aa2d5eabb20247e4b43 /include/channels.h | |
| parent | 81a45520a773732c9f46785f27aa1956150775d7 (diff) | |
Rewrote the hashing system to use std::tr1::unordered_map
Diffstat (limited to 'include/channels.h')
| -rw-r--r-- | include/channels.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/channels.h b/include/channels.h index 51b830c03..4285a9f21 100644 --- a/include/channels.h +++ b/include/channels.h @@ -8,6 +8,9 @@ * */ +typedef unordered_map_namespace::unordered_map<ci::string, Channel *, hash_compare_ci_string> channel_map; +extern CoreExport channel_map ChannelList; + struct UserData { UserData() @@ -72,7 +75,6 @@ class CoreExport Channel : public Extensible, public Flags<ChannelFlags> */ ~Channel(); - Channel *next, *prev; std::string name; /* Channel name */ ChannelInfo *ci; /* Corresponding ChannelInfo */ time_t creation_time; /* When channel was created */ |
