summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree.cpp
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-28 23:27:56 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-28 23:27:56 +0000
commitaf42b46c28af610f918ba15869a84ecb228e423e (patch)
treee75d7cdcee69a2e2d750b602519d93968a01f116 /src/modules/m_spanningtree.cpp
parented8581aff612b97a0f85f48a86302658fd52d780 (diff)
^*&^^)()%-
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5058 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_spanningtree.cpp')
-rw-r--r--src/modules/m_spanningtree.cpp4
1 files 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;