From af42b46c28af610f918ba15869a84ecb228e423e Mon Sep 17 00:00:00 2001 From: w00t Date: Mon, 28 Aug 2006 23:27:56 +0000 Subject: ^*&^^)()%- git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5058 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp index 389964801..f9a89bf5c 100644 --- a/src/modules/m_spanningtree.cpp +++ b/src/modules/m_spanningtree.cpp @@ -2046,7 +2046,7 @@ class TreeSocket : public InspSocket /* Get the reply to a STATS query if it matches this servername, * and send it back as a load of PUSH queries */ - if (params.size() > 1) + if (params.size() > 0) { if (this->Instance->MatchText(this->Instance->Config->ServerName, params[0])) { @@ -2085,7 +2085,7 @@ class TreeSocket : public InspSocket /* Pass it on */ userrec* source = this->Instance->FindNick(prefix); if (source) - DoOneToOne(prefix, "MOTD", params, params[1]); + DoOneToOne(prefix, "MOTD", params, params[0]); } } return true; -- cgit v1.2.3