summaryrefslogtreecommitdiff
path: root/src/bridge/bridge.hpp
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2015-10-12 17:14:29 +0200
committerFlorent Le Coz <louiz@louiz.org>2015-10-12 17:14:29 +0200
commit1aa2c2d857037f3274297527ca3971a75203d39c (patch)
tree9b09bea387764e4e9e20e5545d3091330695dbb9 /src/bridge/bridge.hpp
parent84aafab6040f8fd126e6c4941631d44f122c4b9a (diff)
downloadbiboumi-1aa2c2d857037f3274297527ca3971a75203d39c.tar.gz
biboumi-1aa2c2d857037f3274297527ca3971a75203d39c.tar.bz2
biboumi-1aa2c2d857037f3274297527ca3971a75203d39c.tar.xz
biboumi-1aa2c2d857037f3274297527ca3971a75203d39c.zip
Introduce the realname_from_jid option
When set to true, the realname and username are extracted (by default) from the user’s JID fix #3136
Diffstat (limited to 'src/bridge/bridge.hpp')
-rw-r--r--src/bridge/bridge.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/bridge/bridge.hpp b/src/bridge/bridge.hpp
index dfe0aa7..f1ecf25 100644
--- a/src/bridge/bridge.hpp
+++ b/src/bridge/bridge.hpp
@@ -60,7 +60,8 @@ 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, const std::string& password);
+ bool join_irc_channel(const Iid& iid, const std::string& nickname, 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 send_raw_message(const std::string& hostname, const std::string& body);
@@ -193,7 +194,7 @@ private:
* username in this case) if none is found, and connect that newly-created
* client immediately.
*/
- IrcClient* get_irc_client(const std::string& hostname, const std::string& username);
+ IrcClient* make_irc_client(const std::string& hostname, const std::string& nickname);
/**
* This version does not create the IrcClient if it does not exist, throws
* a IRCServerNotConnected error in that case.