diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-05-29 04:25:25 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-05-29 04:25:25 +0000 |
commit | aba25d142ea1505cc401cc087f3f02e5db72c02d (patch) | |
tree | c0c5fce0288b6aabbde9c8997d97be9645f58f55 /include/users.h | |
parent | 9b6a63ba94301187ec1cfffae756cf26b69ed5dd (diff) |
A lot more of the core consts are now configurable at compile time
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1546 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/users.h')
-rw-r--r-- | include/users.h | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/include/users.h b/include/users.h index c3a9e79b5..351fd661d 100644 --- a/include/users.h +++ b/include/users.h @@ -122,7 +122,7 @@ class userrec : public connection /** The users ident reply. */ - char ident[16]; + char ident[MAXIDENT+1]; /** The host displayed to non-opers (used for cloaking etc). * This usually matches the value of userrec::host. @@ -131,7 +131,7 @@ class userrec : public connection /** The users full name. */ - char fullname[128]; + char fullname[MAXGECOS+1]; /** The user's mode string. * This may contain any of the following RFC characters: o, w, s, i @@ -148,12 +148,7 @@ class userrec : public connection /** The user's away message. * If this string is empty, the user is not marked as away. */ - char awaymsg[512]; - - /** Stores the result of the last GetFullHost or GetRealHost call. - * You may use this to increase the speed of use of this class. - */ - char result[256]; + char awaymsg[MAXAWAY+1]; /** Number of lines the user can place into the buffer * (up to the global NetBufferSize bytes) before they |