X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Flistmode.h;h=94af1d524f366541fc5fd5a04b70a6e46bb8b8ae;hb=7770cd985405c7630e9149fc08c314ec824a9c75;hp=75385588bb406636c85e21cb4563793b10924d79;hpb=f71e6bf9cb41811f18864f5d4eecb26e29d03f25;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/listmode.h b/include/listmode.h index 75385588b..94af1d524 100644 --- a/include/listmode.h +++ b/include/listmode.h @@ -37,7 +37,7 @@ class CoreExport ListModeBase : public ModeHandler /** Items stored in the channel's list */ - typedef std::list ModeList; + typedef std::vector ModeList; private: class ChanData @@ -149,13 +149,13 @@ 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 */ - virtual void DoRehash(); + void DoRehash(); /** Handle the list mode. * See mode.h