From 4cc7c2ba94faf1fe7443876a04ea6ad2203bcffe Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 29 May 2005 05:53:30 +0000 Subject: Compensate for ~ in ident length git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1551 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/users.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/users.h b/include/users.h index a093e633e..69ea434fb 100644 --- a/include/users.h +++ b/include/users.h @@ -121,8 +121,9 @@ class userrec : public connection char nick[NICKMAX]; /** The users ident reply. + * Two characters are added to the user-defined limit to compensate for the tilde etc. */ - char ident[IDENTMAX+1]; + char ident[IDENTMAX+2]; /** The host displayed to non-opers (used for cloaking etc). * This usually matches the value of userrec::host. -- cgit v1.3.1-10-gc9f91