From d6c052038fc28db92668821cad5a94683d13d526 Mon Sep 17 00:00:00 2001 From: sapier Date: Mon, 15 Jul 2013 23:28:55 +0200 Subject: Add playernumber to favorites list --- src/guiLuaApi.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/guiLuaApi.cpp') diff --git a/src/guiLuaApi.cpp b/src/guiLuaApi.cpp index 6bf8df607..211a6e1aa 100644 --- a/src/guiLuaApi.cpp +++ b/src/guiLuaApi.cpp @@ -556,7 +556,7 @@ int guiLuaApi::l_get_favorites(lua_State *L) if (servers[i]["clients_max"].asString().size()) { - const char* clients_max_raw = servers[i]["clients"].asString().c_str(); + const char* clients_max_raw = servers[i]["clients_max"].asString().c_str(); char* endptr = 0; int numbervalue = strtol(clients_max_raw,&endptr,10); -- cgit v1.2.3