summaryrefslogtreecommitdiff
path: root/src/irc/irc_channel.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/irc/irc_channel.hpp')
-rw-r--r--src/irc/irc_channel.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/irc/irc_channel.hpp b/src/irc/irc_channel.hpp
index e22947b..3319505 100644
--- a/src/irc/irc_channel.hpp
+++ b/src/irc/irc_channel.hpp
@@ -31,6 +31,8 @@ public:
IrcUser* find_user(const std::string& name) const;
void remove_user(const IrcUser* user);
void remove_all_users();
+ const std::vector<std::unique_ptr<IrcUser>>& get_users() const
+ { return this->users; }
protected:
std::unique_ptr<IrcUser> self;