summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/modules/m_spanningtree/commands.h1
-rw-r--r--src/modules/m_spanningtree/fjoin.cpp12
2 files changed, 0 insertions, 13 deletions
diff --git a/src/modules/m_spanningtree/commands.h b/src/modules/m_spanningtree/commands.h
index 1766ee067..89bd2bfee 100644
--- a/src/modules/m_spanningtree/commands.h
+++ b/src/modules/m_spanningtree/commands.h
@@ -120,7 +120,6 @@ class CommandFJoin : public ServerCommand
* This does not update the timestamp of the target channel, this must be done seperately.
*/
static void RemoveStatus(Channel* c);
- static void ApplyModeStack(User* srcuser, Channel* c, irc::modestacker& stack);
/**
* Lowers the TS on the given channel: removes all modes, unsets all extensions,
diff --git a/src/modules/m_spanningtree/fjoin.cpp b/src/modules/m_spanningtree/fjoin.cpp
index 9e418b0a2..99f174a97 100644
--- a/src/modules/m_spanningtree/fjoin.cpp
+++ b/src/modules/m_spanningtree/fjoin.cpp
@@ -226,18 +226,6 @@ void CommandFJoin::RemoveStatus(Channel* c)
ServerInstance->Modes->Process(ServerInstance->FakeClient, c, NULL, changelist, ModeParser::MODE_LOCALONLY);
}
-void CommandFJoin::ApplyModeStack(User* srcuser, Channel* c, irc::modestacker& stack)
-{
- parameterlist stackresult;
- stackresult.push_back(c->name);
-
- while (stack.GetStackedLine(stackresult))
- {
- ServerInstance->Modes->Process(stackresult, srcuser, ModeParser::MODE_LOCALONLY);
- stackresult.erase(stackresult.begin() + 1, stackresult.end());
- }
-}
-
void CommandFJoin::LowerTS(Channel* chan, time_t TS, const std::string& newname)
{
if (Utils->AnnounceTSChange)