Do not send data if we are connected, send it only once we actually are
This commit is contained in:
1 parent
3b1bf740a3
commit
e196d2f1f4
4 files changed
+17
-1
No files matched your search
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user