summaryrefslogtreecommitdiff
path: root/src/irc/irc_client.hpp
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2015-01-14 12:38:46 +0100
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2015-01-14 12:38:46 +0100
commite4fcbd3030f033c24102db9f6b6abfb540332c9d (patch)
treec3a491ccab00c1b77c52f138869a636cfe69880d /src/irc/irc_client.hpp
parente2e2f3089469e3e2acbdf1ac6902241d994057c6 (diff)
downloadbiboumi-e4fcbd3030f033c24102db9f6b6abfb540332c9d.tar.gz
biboumi-e4fcbd3030f033c24102db9f6b6abfb540332c9d.tar.bz2
biboumi-e4fcbd3030f033c24102db9f6b6abfb540332c9d.tar.xz
biboumi-e4fcbd3030f033c24102db9f6b6abfb540332c9d.zip
Add support for password-protected IRC rooms.
Diffstat (limited to 'src/irc/irc_client.hpp')
-rw-r--r--src/irc/irc_client.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irc/irc_client.hpp b/src/irc/irc_client.hpp
index 70d7955..29da868 100644
--- a/src/irc/irc_client.hpp
+++ b/src/irc/irc_client.hpp
@@ -81,7 +81,7 @@ public:
/**
* Send the JOIN irc command.
*/
- void send_join_command(const std::string& chan_name);
+ void send_join_command(const std::string& chan_name, const std::string& password = "");
/**
* Send a PRIVMSG command for a channel
* Return true if the message was actually sent