]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/listmode.h
Merge pull request #551 from SaberUK/master+unused-configure
[user/henk/code/inspircd.git] / include / listmode.h
index 1c6f70d6f483c5b02eeb4016c78f551846d69d40..149f4157867526393f1258bf104c622934cbee51 100644 (file)
@@ -144,14 +144,13 @@ class CoreExport ListModeBase : public ModeHandler
        virtual void DisplayEmptyList(User* user, Channel* channel);
 
        /** Remove all instances of the mode from a channel.
-        * See mode.h
+        * Populates the given modestack with modes that remove every instance of
+        * 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
         */
-       virtual void RemoveMode(Channel* channel, irc::modestacker* stack);
-
-       /** Listmodes don't get set on users, no-op
-       */
-       virtual void RemoveMode(User*, irc::modestacker* stack);
+       virtual void RemoveMode(Channel* channel, irc::modestacker& stack);
 
        /** Perform a rehash of this mode's configuration data
         */