summaryrefslogtreecommitdiff
path: root/include/commands
diff options
context:
space:
mode:
Diffstat (limited to 'include/commands')
-rw-r--r--include/commands/cmd_whowas.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/include/commands/cmd_whowas.h b/include/commands/cmd_whowas.h
index 0a38b44f1..b058ef37d 100644
--- a/include/commands/cmd_whowas.h
+++ b/include/commands/cmd_whowas.h
@@ -30,9 +30,21 @@ class WhoWasGroup;
*/
typedef std::deque<WhoWasGroup*> whowas_set;
+namespace WhoWas
+{
+ /** Everything known about one nick
+ */
+ struct Nick
+ {
+ /** Container where each element has information about one occurrence of this nick
+ */
+ whowas_set entries;
+ };
+}
+
/** Sets of users in the whowas system
*/
-typedef std::map<irc::string,whowas_set*> whowas_users;
+typedef std::map<irc::string, WhoWas::Nick*> whowas_users;
/** Sets of time and users in whowas list
*/