summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2015-11-23 11:37:26 +0100
committerAttila Molnar <attilamolnar@hush.com>2015-11-23 11:37:26 +0100
commitbf2f81811fe1869a98861b2d5edc0fba8f884123 (patch)
treea47332845afabdbe9b5ad6fbec590fbcfc1901e6 /include
parent4cdde6e77525350692f3a3776691102ff15ba96c (diff)
core_whowas Add WhoWas::Manager::PurgeNick()
Diffstat (limited to 'include')
-rw-r--r--include/commands/cmd_whowas.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/commands/cmd_whowas.h b/include/commands/cmd_whowas.h
index cd2101e9f..aaea31864 100644
--- a/include/commands/cmd_whowas.h
+++ b/include/commands/cmd_whowas.h
@@ -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);
};
}