diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-08-31 02:40:14 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-08-31 02:40:14 +0000 |
commit | b868ecbde1242743e298b142fc67ed0b4a01ac22 (patch) | |
tree | f48da2b77727f995fc10c36a3bcca3d774014eea /src/modules | |
parent | 1609ed5d3a53781586543893bace5a4eb612d8b5 (diff) |
Off-by-one on params also == masskill, woo
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10361 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_spanningtree/uid.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/uid.cpp b/src/modules/m_spanningtree/uid.cpp index 0c4564719..950a59ee6 100644 --- a/src/modules/m_spanningtree/uid.cpp +++ b/src/modules/m_spanningtree/uid.cpp @@ -36,7 +36,7 @@ bool TreeSocket::ParseUID(const std::string &source, std::deque<std::string> &pa * 1 2 3 4 5 6 7 8 9 10 * UID uuid age nick host dhost ident +modestr +snomasks ip.string signon :gecos */ - if (params.size() != 11) + if (params.size() != 10) { if (!params.empty()) this->WriteLine(std::string(":")+this->Instance->Config->GetSID()+" KILL "+params[0]+" :Invalid client introduction ("+params[0]+" with only "+ |