From b868ecbde1242743e298b142fc67ed0b4a01ac22 Mon Sep 17 00:00:00 2001 From: w00t Date: Sun, 31 Aug 2008 02:40:14 +0000 Subject: Off-by-one on params also == masskill, woo git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10361 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree/uid.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 &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 "+ -- cgit v1.2.3