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 |