summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree
diff options
context:
space:
mode:
authorpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>2007-03-03 04:00:30 +0000
committerpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>2007-03-03 04:00:30 +0000
commite7c3e34bcc90147b3ca85ea9e7711a2a19ce81ac (patch)
treeb239056bdc9a18d7fbe862e6c2652fbb4034909f /src/modules/m_spanningtree
parent8b8923d15564caeeb14a6c5a218b9936a93c3ae4 (diff)
Fix m_services_account logout by allowing meta with empty data field. Tracker: bug #226
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6618 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_spanningtree')
-rw-r--r--src/modules/m_spanningtree/treesocket2.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/treesocket2.cpp b/src/modules/m_spanningtree/treesocket2.cpp
index ac4684e70..b713a6661 100644
--- a/src/modules/m_spanningtree/treesocket2.cpp
+++ b/src/modules/m_spanningtree/treesocket2.cpp
@@ -361,8 +361,10 @@ bool TreeSocket::LocalPong(const std::string &prefix, std::deque<std::string> &p
bool TreeSocket::MetaData(const std::string &prefix, std::deque<std::string> &params)
{
- if (params.size() < 3)
+ if (params.size() < 2)
return true;
+ else
+ params.push_back("");
TreeServer* ServerSource = Utils->FindServer(prefix);
if (ServerSource)
{