]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/users.cpp
Slight speed improvement in WHOing invisible users, insignificant
[user/henk/code/inspircd.git] / src / users.cpp
index edcc54be56b7f9c5a2f7ae84f68a2c8834cb7100..be51cc46a518aed9bd66a77934854d889cb5139a 100644 (file)
@@ -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();