summaryrefslogtreecommitdiff
path: root/src/bridge/bridge.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/bridge/bridge.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/bridge/bridge.hpp')
-rw-r--r--src/bridge/bridge.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bridge/bridge.hpp b/src/bridge/bridge.hpp
index c20bba2..698a017 100644
--- a/src/bridge/bridge.hpp
+++ b/src/bridge/bridge.hpp
@@ -58,7 +58,7 @@ public:
* Try to join an irc_channel, does nothing and return true if the channel
* was already joined.
*/
- bool join_irc_channel(const Iid& iid, const std::string& username);
+ bool join_irc_channel(const Iid& iid, const std::string& username, const std::string& password = "");
void send_channel_message(const Iid& iid, const std::string& body);
void send_private_message(const Iid& iid, const std::string& body, const std::string& type="PRIVMSG");
void leave_irc_channel(Iid&& iid, std::string&& status_message);