summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2015-12-01 12:21:21 +0100
committerAttila Molnar <attilamolnar@hush.com>2015-12-01 12:21:21 +0100
commit0a12e928e61cdb5366f0ad8ffb9d912eb14c5878 (patch)
tree93b094917639fe0e6ce094929d7473fddf9eb808 /include
parentbbc6a0bbbe7475e5e1d0c4f2418c6fe6e0e952b7 (diff)
parent133b7fade64bd0ab9360dd0998b0d5ad170e230b (diff)
Merge branch 'master+whowas-purge-empty'
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);
};
}