Fix wrong named masterserver announce variable
authorproller <proller@github.com>
Mon, 6 Jan 2014 23:11:18 +0000 (03:11 +0400)
committerproller <proller@github.com>
Mon, 6 Jan 2014 23:11:18 +0000 (03:11 +0400)
src/serverlist.cpp

index 2c475cbc0d2aa58f2f00a5385f1465fd4c3d4f62..64511b5b0d9fadf75a806ffd305c39c5e609481a 100644 (file)
@@ -228,7 +228,7 @@ void sendAnnounce(std::string action, const std::vector<std::string> & clients_n
                actionstream << "announcing to " << g_settings->get("serverlist_url") << std::endl;
        } else {
                if (lag)
-                       server["step"]  = lag;
+                       server["lag"]   = lag;
        }
 
        Json::FastWriter writer;