summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree
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/modules/m_spanningtree
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/modules/m_spanningtree')
-rw-r--r--src/modules/m_spanningtree/uid.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/uid.cpp b/src/modules/m_spanningtree/uid.cpp
index 4e81bf2af..73648fb9d 100644
--- a/src/modules/m_spanningtree/uid.cpp
+++ b/src/modules/m_spanningtree/uid.cpp
@@ -113,7 +113,7 @@ bool TreeSocket::ParseUID(const std::string &source, std::deque<std::string> &pa
strlcpy(_new->host, params[3].c_str(),64);
strlcpy(_new->dhost, params[4].c_str(),64);
_new->server = this->Instance->FindServerNamePtr(remoteserver->GetName().c_str());
- strlcpy(_new->ident, params[5].c_str(),IDENTMAX);
+ strlcpy(_new->ident, params[5].c_str(),IDENTMAX + 1);
strlcpy(_new->fullname, params[9].c_str(),MAXGECOS);
_new->registered = REG_ALL;
_new->signon = signon;