diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/listmode.h | 4 | ||||
-rw-r--r-- | include/mode.h | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/include/listmode.h b/include/listmode.h index ec3feb943..04044948c 100644 --- a/include/listmode.h +++ b/include/listmode.h @@ -149,9 +149,9 @@ class CoreExport ListModeBase : public ModeHandler * this mode from the channel. * See mode.h for more details. * @param channel The channel to remove all instances of the 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); /** Perform a rehash of this mode's configuration data */ 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 |