summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-04-05 20:14:28 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-04-05 20:14:28 +0000
commit4c1208b8fadc2dd46b57625421765afcda81f791 (patch)
tree23fdaea7e19efe7e20954009917101beb9555b06 /src/modules
parent335ab1528d858a70ae4e7cad2f55415a427f2b7d (diff)
Remove debug, fix DELLINE: args were the wrong way around
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9365 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_spanningtree/delline.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/modules/m_spanningtree/delline.cpp b/src/modules/m_spanningtree/delline.cpp
index 13aa684df..1b8630f66 100644
--- a/src/modules/m_spanningtree/delline.cpp
+++ b/src/modules/m_spanningtree/delline.cpp
@@ -26,7 +26,6 @@ bool TreeSocket::DelLine(const std::string &prefix, std::deque<std::string> &par
if (params.size() < 2)
return true;
- Instance->Logs->Log("loltree", DEBUG, "DELLINE: %s %s", params[0].c_str(), params[1].c_str());
std::string setter = "<unknown>";
User* user = Instance->FindNick(prefix);
@@ -41,7 +40,7 @@ bool TreeSocket::DelLine(const std::string &prefix, std::deque<std::string> &par
/* NOTE: No check needed on 'user', this function safely handles NULL */
- if (Instance->XLines->DelLine(params[0].c_str(), params[1], user))
+ if (Instance->XLines->DelLine(params[1].c_str(), params[0], user))
{
this->Instance->SNO->WriteToSnoMask('x',"%s removed %s%s on %s.", setter.c_str(),
params[0].c_str(), params[0].length() == 1 ? "LINE" : "", params[1].c_str());