summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/connection.h2
-rw-r--r--include/users.h6
2 files changed, 4 insertions, 4 deletions
diff --git a/include/connection.h b/include/connection.h
index db76859d7..032f9ba6c 100644
--- a/include/connection.h
+++ b/include/connection.h
@@ -43,7 +43,7 @@ class connection : public Extensible
/** Hostname of connection. Not used if this is a serverrec
*/
- char host[160];
+ char host[64];
/** Stats counter for bytes inbound
*/
diff --git a/include/users.h b/include/users.h
index d64c94280..3b1ff5003 100644
--- a/include/users.h
+++ b/include/users.h
@@ -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;