summaryrefslogtreecommitdiff
path: root/src/users.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-02-05 23:34:57 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-02-05 23:34:57 +0000
commit4516e75176036338f2d165eae3097c9a8d25f6c3 (patch)
tree32f44c7d7c59e3f78e22013ad16da3914a005d75 /src/users.cpp
parent6fea8ffbc298154d38ccd00682aad44b5a79efb3 (diff)
This makes more sense
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8837 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/users.cpp')
-rw-r--r--src/users.cpp2
1 files changed, 1 insertions, 1 deletions
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();