diff options
author | Florent Le Coz <louiz@louiz.org> | 2014-03-24 18:37:31 +0100 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2014-03-24 18:37:31 +0100 |
commit | e196d2f1f400f5c9634ed42fcbdf5c5fb63a13fb (patch) | |
tree | f9a7d32d4bb9d480df36ac4dbc0fa6d8a5149200 /src/irc | |
parent | 3b1bf740a3299e3373916fd343492420550464e1 (diff) | |
download | biboumi-e196d2f1f400f5c9634ed42fcbdf5c5fb63a13fb.tar.gz biboumi-e196d2f1f400f5c9634ed42fcbdf5c5fb63a13fb.tar.bz2 biboumi-e196d2f1f400f5c9634ed42fcbdf5c5fb63a13fb.tar.xz biboumi-e196d2f1f400f5c9634ed42fcbdf5c5fb63a13fb.zip |
Do not send data if we are connected, send it only once we actually are
Diffstat (limited to 'src/irc')
-rw-r--r-- | src/irc/irc_client.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/irc/irc_client.cpp b/src/irc/irc_client.cpp index 0c36372..3737b91 100644 --- a/src/irc/irc_client.cpp +++ b/src/irc/irc_client.cpp @@ -45,6 +45,7 @@ void IrcClient::on_connected() this->send_nick_command(this->username); this->send_user_command(this->username, this->username); this->send_gateway_message("Connected to IRC server."); + this->send_pending_data(); } void IrcClient::on_connection_close() |