mirror of
https://github.com/edubart/otclient.git
synced 2025-11-03 04:06:23 +01:00
console max lines
This commit is contained in:
@@ -16,8 +16,10 @@ void Protocol::connect(const std::string& host, uint16 port)
|
||||
|
||||
void Protocol::disconnect()
|
||||
{
|
||||
m_connection->close();
|
||||
m_connection.reset();
|
||||
if(m_connection) {
|
||||
m_connection->close();
|
||||
m_connection.reset();
|
||||
}
|
||||
}
|
||||
|
||||
void Protocol::send(OutputMessage& outputMessage)
|
||||
|
||||
Reference in New Issue
Block a user