sources/network/rconsession.cpp

changeset 111
51c93a0cc317
parent 109
e4966d7e615d
child 115
bb7ef7c33dad
equal deleted inserted replaced
110:cad1163333b9 111:51c93a0cc317
71 { 71 {
72 // Say goodbye to remote 72 // Say goodbye to remote
73 Bytestream packet; 73 Bytestream packet;
74 packet.write_byte (CLRC_DISCONNECT); 74 packet.write_byte (CLRC_DISCONNECT);
75 this->send (packet); 75 this->send (packet);
76 m_interface->print ("Disconnected from %s\n", m_address.to_string (IPAddress::WITH_PORT).chars()); 76 m_interface->disconnected();
77 m_interface->update_statusbar();
78 } 77 }
79 78
80 m_state = RCON_DISCONNECTED; 79 m_state = RCON_DISCONNECTED;
81 } 80 }
82 81

mercurial