diff options
| author | 2006-08-28 23:27:56 +0000 | |
|---|---|---|
| committer | 2006-08-28 23:27:56 +0000 | |
| commit | af42b46c28af610f918ba15869a84ecb228e423e (patch) | |
| tree | e75d7cdcee69a2e2d750b602519d93968a01f116 /src/modules/m_spanningtree.cpp | |
| parent | Remote MOTD support (diff) | |
| download | inspircd++-af42b46c28af610f918ba15869a84ecb228e423e.tar.gz inspircd++-af42b46c28af610f918ba15869a84ecb228e423e.tar.bz2 inspircd++-af42b46c28af610f918ba15869a84ecb228e423e.zip | |
^*&^^)()%-
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.cpp | 4 |
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; |
