equal
deleted
inserted
replaced
110 "Hedgewars server http://www.hedgewars.org/", |
110 "Hedgewars server http://www.hedgewars.org/", |
111 &protocol_version.to_string() |
111 &protocol_version.to_string() |
112 ]), |
112 ]), |
113 &HWProtocolMessage::Bye(msg) |
113 &HWProtocolMessage::Bye(msg) |
114 => construct_message(&["BYE", msg]), |
114 => construct_message(&["BYE", msg]), |
|
115 &HWProtocolMessage::Nick(nick) |
|
116 => construct_message(&["NICK", nick]), |
115 &HWProtocolMessage::LobbyLeft(msg) |
117 &HWProtocolMessage::LobbyLeft(msg) |
116 => construct_message(&["LOBBY_LEFT", msg]), |
118 => construct_message(&["LOBBY_LEFT", msg]), |
117 _ => String::new() |
119 _ => construct_message(&["ERROR", "UNIMPLEMENTED"]), |
118 } |
120 } |
119 } |
121 } |
120 } |
122 } |