diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-14 12:10:51 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-14 12:10:51 +0000 |
commit | ccf86b877c9443e0dd547460ca9852ff647ff598 (patch) | |
tree | 35621f576a9c94253a5c7979a79a2cbf31958b3f /src/userprocess.cpp | |
parent | e86afd775c59441ff66222b2c3142b01ec2113af (diff) |
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
Diffstat (limited to 'src/userprocess.cpp')
-rw-r--r-- | src/userprocess.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/userprocess.cpp b/src/userprocess.cpp index 2e3c8713d..37e0153e5 100644 --- a/src/userprocess.cpp +++ b/src/userprocess.cpp @@ -57,6 +57,7 @@ using namespace std; #include "helperfuncs.h" #include "hashcomp.h" #include "socketengine.h" +#include "typedefs.h" extern int MODCOUNT; extern int openSockfd[MAXSOCKS]; @@ -77,10 +78,10 @@ extern ServerConfig *Config; extern userrec* fd_ref_table[65536]; char data[65536]; -typedef nspace::hash_map<std::string, userrec*, nspace::hash<string>, irc::StrHashComp> user_hash; +/*typedef nspace::hash_map<std::string, userrec*, nspace::hash<string>, irc::StrHashComp> user_hash; typedef nspace::hash_map<std::string, chanrec*, nspace::hash<string>, irc::StrHashComp> chan_hash; typedef nspace::hash_map<in_addr,string*, nspace::hash<in_addr>, irc::InAddr_HashComp> address_cache; -typedef nspace::hash_map<std::string, WhoWasUser*, nspace::hash<string>, irc::StrHashComp> whowas_hash; +typedef nspace::hash_map<std::string, WhoWasUser*, nspace::hash<string>, irc::StrHashComp> whowas_hash;*/ extern user_hash clientlist; extern chan_hash chanlist; |