aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_spanningtree/fmode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_spanningtree/fmode.cpp')
-rw-r--r--src/modules/m_spanningtree/fmode.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/fmode.cpp b/src/modules/m_spanningtree/fmode.cpp
index de7631c83..d5474e211 100644
--- a/src/modules/m_spanningtree/fmode.cpp
+++ b/src/modules/m_spanningtree/fmode.cpp
@@ -75,7 +75,10 @@ CmdResult CommandFMode::Handle(const std::vector<std::string>& params, User *who
if (TS <= ourTS)
{
bool merge = (TS == ourTS) && IS_SERVER(who);
- ServerInstance->Modes->Process(modelist, who, merge);
+ Extensible* target;
+ irc::modestacker modes;
+ ServerInstance->Modes->Parse(modelist, who, target, modes);
+ ServerInstance->Modes->Process(who, target, modes, merge);
return CMD_SUCCESS;
}
/* If the TS is greater than ours, we drop the mode and dont pass it anywhere.