]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/commands/cmd_whowas.h
Implement support for draft-brocklesby-irc-isupport-03 escapes.
[user/henk/code/inspircd.git] / include / commands / cmd_whowas.h
index cd2101e9fad7aa15f7947313c7a7796b8679ec26..070858cc504140282a26d2c8457b041d4954ecc7 100644 (file)
@@ -172,6 +172,16 @@ namespace WhoWas
                /** Shrink all data structures to honor the current settings
                 */
                void Prune();
+
+               /** Remove a nick (and all entries belonging to it) from the database
+                * @param it Iterator to the nick to purge
+                */
+               void PurgeNick(whowas_users::iterator it);
+
+               /** Remove a nick (and all entries belonging to it) from the database
+                * @param nick Nick to purge
+                */
+               void PurgeNick(WhoWas::Nick* nick);
        };
 }
 
@@ -190,7 +200,6 @@ class CommandWhowas : public Command
        CommandWhowas(Module* parent);
        /** Handle command.
         * @param parameters The parameters to the comamnd
-        * @param pcnt The number of parameters passed to teh command
         * @param user The user issuing the command
         * @return A value from CmdResult to indicate command success or failure.
         */