summaryrefslogtreecommitdiff
path: root/include/mode.h
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 /include/mode.h
parent4634151efc02ff016e19c5f123d75824d0d6c811 (diff)
Use Modes::ChangeList in ModeHandler::RemoveMode()
Diffstat (limited to 'include/mode.h')
-rw-r--r--include/mode.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/mode.h b/include/mode.h
index 7dc718a27..868f3437d 100644
--- a/include/mode.h
+++ b/include/mode.h
@@ -294,9 +294,9 @@ class CoreExport ModeHandler : public ServiceProvider
* so if you inherit from it or your mode can be removed by the default implementation then you do not have to implement
* this function).
* @param channel The channel which the server wants to remove your mode from
- * @param stack The mode stack to add the mode change to
+ * @param changelist Mode change list to populate with the removal of this mode
*/
- virtual void RemoveMode(Channel* channel, irc::modestacker& stack);
+ virtual void RemoveMode(Channel* channel, Modes::ChangeList& changelist);
inline unsigned int GetLevelRequired() const { return levelrequired; }
@@ -359,9 +359,9 @@ class CoreExport PrefixMode : public ModeHandler
/**
* Removes this prefix mode from all users on the given channel
* @param chan The channel which the server wants to remove your mode from
- * @param stack The mode stack to add the mode change to
+ * @param changelist Mode change list to populate with the removal of this mode
*/
- void RemoveMode(Channel* chan, irc::modestacker& stack);
+ void RemoveMode(Channel* channel, Modes::ChangeList& changelist);
/**
* Mode prefix or 0. If this is defined, you should