From 4516e75176036338f2d165eae3097c9a8d25f6c3 Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 5 Feb 2008 23:34:57 +0000 Subject: This makes more sense git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8837 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/users.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/users.cpp') diff --git a/src/users.cpp b/src/users.cpp index edcc54be5..be51cc46a 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -1444,7 +1444,7 @@ bool User::ChangeIdent(const char* newident) if (this->ServerInstance->Config->CycleHosts) this->WriteCommonExcept("%s","QUIT :Changing ident"); - strlcpy(this->ident, newident, IDENTMAX+2); + strlcpy(this->ident, newident, IDENTMAX+1); this->InvalidateCache(); -- cgit v1.2.3