Do not send data if we are connected, send it only once we actually are

This commit is contained in:
Florent Le Coz committed 2014-03-24 18:37:31 +01:00
1 parent 3b1bf740a3
commit e196d2f1f4
4 files changed
+17 -1

No files matched your search

+1
View File
@@ -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()