From ccf86b877c9443e0dd547460ca9852ff647ff598 Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 14 Dec 2005 12:10:51 +0000 Subject: moved declarations of typedefs for user_hash and chan_hash etc to typedefs.h git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2400 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/inspircd.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/inspircd.cpp') diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 873e48a22..582eac7b8 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -60,6 +60,7 @@ using namespace std; #include "userprocess.h" #include "socket.h" #include "dns.h" +#include "typedefs.h" int WHOWAS_STALE = 48; // default WHOWAS Entries last 2 days before they go 'stale' int WHOWAS_MAX = 100; // default 100 people maximum in the WHOWAS list @@ -85,12 +86,12 @@ SocketEngine* SE = NULL; extern std::vector include_stack; -typedef nspace::hash_map, irc::StrHashComp> user_hash; +/*typedef nspace::hash_map, irc::StrHashComp> user_hash; typedef nspace::hash_map, irc::StrHashComp> chan_hash; typedef nspace::hash_map, irc::InAddr_HashComp> address_cache; typedef nspace::hash_map, irc::StrHashComp> whowas_hash; typedef std::deque command_table; -typedef std::vector servernamelist; +typedef std::vector servernamelist;*/ // This table references users by file descriptor. // its an array to make it VERY fast, as all lookups are referenced -- cgit v1.3.1-10-gc9f91