diff options
author | Attila Molnar <attilamolnar@hush.com> | 2014-07-09 14:57:00 +0200 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2014-07-09 14:57:00 +0200 |
commit | 93786820aad505e00d5c1c07228ef7aa6c3f22b8 (patch) | |
tree | e6a6cc3fd61fd3cc0f3a62e4f7b2ceb6e56286dd /include | |
parent | c81524733b1fa409e3123166a8521e5984f47059 (diff) |
core_whowas Create class WhoWas::Nick, store pointers to those in the map
Diffstat (limited to 'include')
-rw-r--r-- | include/commands/cmd_whowas.h | 14 |
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 */ |