aboutsummaryrefslogtreecommitdiffstats
path: root/src/users.cpp
diff options
context:
space:
mode:
authorGravatar brain2008-02-05 23:35:54 +0000
committerGravatar brain2008-02-05 23:35:54 +0000
commit0bdfd8d51ede4abfeebfd6ee85ff566f6a296376 (patch)
tree60353941820fd10ecbab84d62d27a1198f899b01 /src/users.cpp
parentMODEACTION_ALLOW was being used instead of DENY, fixes bug #490 (diff)
This should work a bit better, voidzero. If someone had told me it was seperate servers from the start.... :p
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8838 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 de1a12a8a..c640afe55 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -1738,7 +1738,7 @@ bool userrec::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();