diff options
Diffstat (limited to 'src/message.cpp')
-rw-r--r-- | src/message.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/message.cpp b/src/message.cpp index 436cc1ed3..0e9d7e8e7 100644 --- a/src/message.cpp +++ b/src/message.cpp @@ -227,7 +227,7 @@ void ChangeDisplayedHost(userrec* user, const char* host) return; FOREACH_MOD(I_OnChangeHost,OnChangeHost(user,host)); } - strlcpy(user->dhost,host,160); + strlcpy(user->dhost,host,63); WriteServ(user->fd,"396 %s %s :is now your hidden host",user->nick,user->dhost); } @@ -419,7 +419,7 @@ void TidyBan(char *ban) strlcpy(NICK,temp,NICKMAX-1); strlcpy(IDENT,pos_of_pling,IDENTMAX+1); - strlcpy(HOST,pos_of_at,160); + strlcpy(HOST,pos_of_at,63); snprintf(ban,MAXBUF,"%s!%s@%s",NICK,IDENT,HOST); } |