From e7c3e34bcc90147b3ca85ea9e7711a2a19ce81ac Mon Sep 17 00:00:00 2001 From: peavey Date: Sat, 3 Mar 2007 04:00:30 +0000 Subject: 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 --- src/modules/m_spanningtree/treesocket2.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/modules/m_spanningtree') 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 &p bool TreeSocket::MetaData(const std::string &prefix, std::deque ¶ms) { - if (params.size() < 3) + if (params.size() < 2) return true; + else + params.push_back(""); TreeServer* ServerSource = Utils->FindServer(prefix); if (ServerSource) { -- cgit v1.2.3