diff options
Diffstat (limited to 'src/irc/irc_user.hpp')
-rw-r--r-- | src/irc/irc_user.hpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/irc/irc_user.hpp b/src/irc/irc_user.hpp index b76b2ef..f30da4d 100644 --- a/src/irc/irc_user.hpp +++ b/src/irc/irc_user.hpp @@ -2,6 +2,8 @@ # define IRC_USER_INCLUDED #include <string> +#include <map> +#include <set> /** * Keeps various information about one IRC channel user @@ -9,10 +11,12 @@ class IrcUser { public: + explicit IrcUser(const std::string& name, + const std::map<char, char>& prefix_to_mode); explicit IrcUser(const std::string& name); - std::string nick; std::string host; + std::set<char> modes; private: IrcUser(const IrcUser&) = delete; |