]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/users.h
Optimisation of optimisation :P ty w00tie
[user/henk/code/inspircd.git] / include / users.h
index d64c942801fa6f017fcca5022a8044b95def07ea..b56af660636df318328e67b36f88c0998d94e036 100644 (file)
@@ -37,7 +37,7 @@
 #define CC_ALLOW       0
 #define CC_DENY                1
 
-template<typename T> inline string ConvToStr(const T &in);
+template<typename T> string ConvToStr(const T &in);
 
 /** Holds a channel name to which a user has been invited.
  */
@@ -136,7 +136,7 @@ class userrec : public connection
        /** The host displayed to non-opers (used for cloaking etc).
         * This usually matches the value of userrec::host.
         */
-       char dhost[160];
+       char dhost[64];
        
        /** The users full name.
         */
@@ -347,8 +347,8 @@ class WhoWasUser
  public:
        char nick[NICKMAX];
        char ident[IDENTMAX+1];
-       char dhost[160];
-       char host[160];
+       char dhost[64];
+       char host[64];
        char fullname[MAXGECOS+1];
        char server[256];
        time_t signon;
@@ -363,5 +363,6 @@ void AddClient(int socket, int port, bool iscached, in_addr ip4);
 void FullConnectUser(userrec* user, CullList* Goners);
 userrec* ReHashNick(char* Old, char* New);
 void force_nickchange(userrec* user,const char* newnick);
+void ReadClassesAndTypes();
 
 #endif