summaryrefslogtreecommitdiff
path: root/include/users.h
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-05-29 05:41:03 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-05-29 05:41:03 +0000
commitb0a467e8d3064177e3ceaaa6c207a3e625d2125a (patch)
tree489182ac0cf4cf360f6060b5ab7c52c16571d780 /include/users.h
parentea3dc510c16a9bd2c35b51eeeccad313badc03c7 (diff)
Highly optimized userrec saving 1.5k per user
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1550 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/users.h')
-rw-r--r--include/users.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/users.h b/include/users.h
index 2c3f2ffc0..a093e633e 100644
--- a/include/users.h
+++ b/include/users.h
@@ -146,7 +146,7 @@ class userrec : public connection
/** The server the user is connected to.
*/
- char server[256];
+ char* server;
/** The user's away message.
* If this string is empty, the user is not marked as away.
@@ -325,10 +325,10 @@ class WhoWasUser
{
public:
char nick[NICKMAX];
- char ident[16];
+ char ident[IDENTMAX+1];
char dhost[160];
char host[160];
- char fullname[128];
+ char fullname[MAXGECOS+1];
char server[256];
time_t signon;
};