summaryrefslogtreecommitdiff
path: root/src/listmode.cpp
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2014-09-03 15:35:13 +0200
committerAttila Molnar <attilamolnar@hush.com>2014-09-03 15:35:13 +0200
commit5bea41d726f9c93ca1914ae9b6259765991d383c (patch)
tree1e45fa01158cefba99aeab489be402cf48016df7 /src/listmode.cpp
parent4634151efc02ff016e19c5f123d75824d0d6c811 (diff)
Use Modes::ChangeList in ModeHandler::RemoveMode()
Diffstat (limited to 'src/listmode.cpp')
-rw-r--r--src/listmode.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/listmode.cpp b/src/listmode.cpp
index 0f139bb01..9b2a0a90f 100644
--- a/src/listmode.cpp
+++ b/src/listmode.cpp
@@ -45,14 +45,14 @@ void ListModeBase::DisplayEmptyList(User* user, Channel* channel)
user->WriteNumeric(endoflistnumeric, "%s :%s", channel->name.c_str(), endofliststring.c_str());
}
-void ListModeBase::RemoveMode(Channel* channel, irc::modestacker& stack)
+void ListModeBase::RemoveMode(Channel* channel, Modes::ChangeList& changelist)
{
ChanData* cd = extItem.get(channel);
if (cd)
{
for (ModeList::iterator it = cd->list.begin(); it != cd->list.end(); it++)
{
- stack.Push(this->GetModeChar(), it->mask);
+ changelist.push_remove(this, it->mask);
}
}
}