diff options
author | Attila Molnar <attilamolnar@hush.com> | 2015-12-01 12:21:21 +0100 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2015-12-01 12:21:21 +0100 |
commit | 0a12e928e61cdb5366f0ad8ffb9d912eb14c5878 (patch) | |
tree | 93b094917639fe0e6ce094929d7473fddf9eb808 /include | |
parent | bbc6a0bbbe7475e5e1d0c4f2418c6fe6e0e952b7 (diff) | |
parent | 133b7fade64bd0ab9360dd0998b0d5ad170e230b (diff) |
Merge branch 'master+whowas-purge-empty'
Diffstat (limited to 'include')
-rw-r--r-- | include/commands/cmd_whowas.h | 10 |
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); }; } |