]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/commands/cmd_whowas.h
core_whowas Store the nickname in WhoWas::Nick
[user/henk/code/inspircd.git] / include / commands / cmd_whowas.h
index b058ef37dbd315f0cae07eed6737acede75c1f40..5c2bb62ee881b056655df6c31924d4f281257400 100644 (file)
@@ -39,6 +39,22 @@ namespace WhoWas
                /** Container where each element has information about one occurrence of this nick
                 */
                whowas_set entries;
+
+               /** Time this nick was added to the database
+                */
+               const time_t addtime;
+
+               /** Nickname whose information is stored in this class
+                */
+               const irc::string nick;
+
+               /** Constructor to initialize fields
+                */
+               Nick(const irc::string& nickname);
+
+               /** Destructor, deallocates all elements in the entries container
+                */
+               ~Nick();
        };
 }