summaryrefslogtreecommitdiff
path: root/src/irc/client.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/irc/client.hpp')
-rw-r--r--src/irc/client.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/irc/client.hpp b/src/irc/client.hpp
index 0194750..2598550 100644
--- a/src/irc/client.hpp
+++ b/src/irc/client.hpp
@@ -16,6 +16,7 @@ namespace bot {
void run();
+ bool join(const std::string &channel_login);
void raw(const std::string &raw_message);
template <MessageType T>
@@ -43,6 +44,8 @@ namespace bot {
bool is_connected = false;
std::vector<std::string> pool;
+ std::vector<std::string> joined_channels;
+
// Message handlers
typename MessageHandler<MessageType::Privmsg>::fn onPrivmsg;
};