mirror of
https://github.com/edubart/otclient.git
synced 2025-10-15 12:04:55 +02:00
Merge branch 'master' of github.com:edubart/otclient
This commit is contained in:
@@ -132,14 +132,14 @@ void Connection::onConnect(const boost::system::error_code& error)
|
||||
{
|
||||
m_readTimer.cancel();
|
||||
|
||||
m_connecting = false;
|
||||
|
||||
if(!error) {
|
||||
m_connected = true;
|
||||
if(m_connectCallback)
|
||||
g_dispatcher.addEvent(m_connectCallback);
|
||||
} else
|
||||
handleError(error);
|
||||
|
||||
m_connecting = false;
|
||||
}
|
||||
|
||||
void Connection::onWrite(const boost::system::error_code& error, size_t)
|
||||
|
Reference in New Issue
Block a user