aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_spanningtree/fmode.cpp
diff options
context:
space:
mode:
authorGravatar Daniel De Graaf2010-02-09 12:43:13 -0600
committerGravatar Daniel De Graaf2010-08-03 17:32:34 -0400
commitd439bfcb17ccaf3d8e9366ce8d3922d3b83326b9 (patch)
tree4d7341ebe0413e8f741d4ab11f0a1d592aa324a7 /src/modules/m_spanningtree/fmode.cpp
parentUpdate InspIRCd::SendMode to take a modestacker (diff)
Fixups for s2s sync (currently limited to lettered modes)
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.