gameServer2/src/protocol/messages.rs
changeset 13666 09f4a30e50cc
parent 13531 282218ab1b28
child 13667 bfc2727daead
--- a/gameServer2/src/protocol/messages.rs	Tue Aug 14 15:25:05 2018 +0200
+++ b/gameServer2/src/protocol/messages.rs	Thu Aug 16 19:33:03 2018 +0300
@@ -1,4 +1,4 @@
-use server::coretypes::{
+use crate::server::coretypes::{
     ServerVar, GameCfg, TeamInfo,
     HedgehogInfo, VoteType
 };
@@ -111,7 +111,7 @@
 
 impl GameCfg {
     pub fn to_protocol(&self) -> (String, Vec<String>) {
-        use server::coretypes::GameCfg::*;
+        use crate::server::coretypes::GameCfg::*;
         match self {
             FeatureSize(s) => ("FEATURE_SIZE".to_string(), vec![s.to_string()]),
             MapType(t) => ("MAP".to_string(), vec![t.to_string()]),
@@ -260,7 +260,7 @@
             Pong => msg!["PONG"],
             Connected(protocol_version) => msg![
                 "CONNECTED",
-                "Hedgewars server https://www.hedgewars.org/",
+                "Hedgewars server http://www.hedgewars.org/",
                 protocol_version],
             Bye(msg) => msg!["BYE", msg],
             Nick(nick) => msg!["NICK", nick],