diff options
author | Attila Molnar <attilamolnar@hush.com> | 2014-09-03 15:36:21 +0200 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2014-09-03 15:36:21 +0200 |
commit | 7166c4905a08b590bcf61e9e3d13953f7965f93a (patch) | |
tree | 0183a4f7a6962a36141d89a7adc0a91a2e5fa882 /src/modules/m_spanningtree | |
parent | 5bea41d726f9c93ca1914ae9b6259765991d383c (diff) |
m_spanningtree Remove CommandFJoin::ApplyModeStack()
Diffstat (limited to 'src/modules/m_spanningtree')
-rw-r--r-- | src/modules/m_spanningtree/commands.h | 1 | ||||
-rw-r--r-- | src/modules/m_spanningtree/fjoin.cpp | 12 |
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) |