aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_spanningtree/postcommand.cpp
diff options
context:
space:
mode:
authorGravatar Peter Powell2018-08-09 20:44:43 +0100
committerGravatar Peter Powell2018-08-10 13:55:32 +0100
commit213e4d9680e427bc16b94c0c1b627919cacb171b (patch)
tree16f4f36d2c7e7e227af5c10a2d1b054bb7488f6e /src/modules/m_spanningtree/postcommand.cpp
parentSwitch m_xline_db to use the xline snomask character. (diff)
downloadinspircd++-213e4d9680e427bc16b94c0c1b627919cacb171b.tar.gz
inspircd++-213e4d9680e427bc16b94c0c1b627919cacb171b.tar.bz2
inspircd++-213e4d9680e427bc16b94c0c1b627919cacb171b.zip
Remove the original line parameter of On{Pre,Post}Command.
In the brave new world of message tags and alternate wire formats this is no longer something that is appropriate to expose. In reality it was only ever used by m_alias which now reconstitutes the command name and parameters into a RFC 1459-style message for whatever it needs to do.
Diffstat (limited to 'src/modules/m_spanningtree/postcommand.cpp')
-rw-r--r--src/modules/m_spanningtree/postcommand.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/postcommand.cpp b/src/modules/m_spanningtree/postcommand.cpp
index b50b5e852..c6bc04fc2 100644
--- a/src/modules/m_spanningtree/postcommand.cpp
+++ b/src/modules/m_spanningtree/postcommand.cpp
@@ -24,7 +24,7 @@
#include "treeserver.h"
#include "commandbuilder.h"
-void ModuleSpanningTree::OnPostCommand(Command* command, const CommandBase::Params& parameters, LocalUser* user, CmdResult result, const std::string& original_line)
+void ModuleSpanningTree::OnPostCommand(Command* command, const CommandBase::Params& parameters, LocalUser* user, CmdResult result)
{
if (result == CMD_SUCCESS)
Utils->RouteCommand(NULL, command, parameters, user);