summaryrefslogtreecommitdiff
path: root/src/irc/irc_client.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/irc/irc_client.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/irc/irc_client.hpp')
-rw-r--r--src/irc/irc_client.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/irc/irc_client.hpp b/src/irc/irc_client.hpp
index a6b51ce..7a04164 100644
--- a/src/irc/irc_client.hpp
+++ b/src/irc/irc_client.hpp
@@ -25,7 +25,9 @@ class Bridge;
class IrcClient: public TCPSocketHandler
{
public:
- explicit IrcClient(std::shared_ptr<Poller> poller, const std::string& hostname, const std::string& username, Bridge* bridge);
+ explicit IrcClient(std::shared_ptr<Poller> poller, const std::string& hostname,
+ const std::string& nickname, const std::string& username,
+ const std::string& realname, Bridge* bridge);
~IrcClient();
/**
* Connect to the IRC server