summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2015-11-02 17:14:21 +0100
committerFlorent Le Coz <louiz@louiz.org>2015-11-02 17:14:21 +0100
commit0a4041f7e9d30fae9b2bfcfaaf1dc3efb368f86f (patch)
tree8ae358c6891987b6a4a4aae59adeeafb061b9745 /src
parentf928f7627247ceaafcf3538066ac17609b652aac (diff)
downloadbiboumi-0a4041f7e9d30fae9b2bfcfaaf1dc3efb368f86f.tar.gz
biboumi-0a4041f7e9d30fae9b2bfcfaaf1dc3efb368f86f.tar.bz2
biboumi-0a4041f7e9d30fae9b2bfcfaaf1dc3efb368f86f.tar.xz
biboumi-0a4041f7e9d30fae9b2bfcfaaf1dc3efb368f86f.zip
Fix the initial IRC nickname (was using realname, by mistake)
Diffstat (limited to 'src')
-rw-r--r--src/irc/irc_client.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irc/irc_client.cpp b/src/irc/irc_client.cpp
index 3161b85..7caf443 100644
--- a/src/irc/irc_client.cpp
+++ b/src/irc/irc_client.cpp
@@ -155,7 +155,7 @@ void IrcClient::on_connected()
this->send_pass_command(options.pass.value());
#endif
- this->send_nick_command(this->username);
+ this->send_nick_command(this->current_nick);
#ifdef USE_DATABASE
if (Config::get("realname_customization", "true") == "true")