aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_spanningtree/postcommand.cpp
diff options
context:
space:
mode:
authorGravatar Peter Powell2018-09-11 09:03:47 +0100
committerGravatar Peter Powell2018-09-11 09:03:47 +0100
commit7e9ec8e49060024033efe55342c933b86288e31c (patch)
treeaa39a4fb8319382ac492e168525a18bebae2f732 /src/modules/m_spanningtree/postcommand.cpp
parentAdd a module for hiding mode changes from unprivileged users. (diff)
downloadinspircd++-7e9ec8e49060024033efe55342c933b86288e31c.tar.gz
inspircd++-7e9ec8e49060024033efe55342c933b86288e31c.tar.bz2
inspircd++-7e9ec8e49060024033efe55342c933b86288e31c.zip
Amend OnPostCommand to specify whether the command is loopcalled.
This restores previous behaviour which was lost when the original line parameter was removed.
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 c6bc04fc2..c7b4707b3 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)
+void ModuleSpanningTree::OnPostCommand(Command* command, const CommandBase::Params& parameters, LocalUser* user, CmdResult result, bool loop)
{
if (result == CMD_SUCCESS)
Utils->RouteCommand(NULL, command, parameters, user);