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/commands.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/commands.cpp') diff --git a/src/commands.cpp b/src/commands.cpp index 25cfab93a..498760524 100644 --- a/src/commands.cpp +++ b/src/commands.cpp @@ -61,6 +61,7 @@ using namespace std; #include "helperfuncs.h" #include "hashcomp.h" #include "socketengine.h" +#include "typedefs.h" extern SocketEngine* SE; extern ServerConfig* Config; @@ -86,11 +87,11 @@ const long duration_d = duration_h * 24; const long duration_w = duration_d * 7; const long duration_y = duration_w * 52; -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::deque command_table;*/ extern user_hash clientlist; -- cgit v1.2.3