aboutsummaryrefslogtreecommitdiff
path: root/src/guiLuaApi.cpp
diff options
context:
space:
mode:
authorsapier <Sapier at GMX dot net>2013-07-15 23:28:55 +0200
committerPilzAdam <pilzadam@minetest.net>2013-07-22 18:09:59 +0200
commitd6c052038fc28db92668821cad5a94683d13d526 (patch)
tree539ea3ed6cf21571c238cfb36521599dda4952bb /src/guiLuaApi.cpp
parent8a1658ec3e2d95b3646d5244120a07b8fd5c9158 (diff)
downloadminetest-d6c052038fc28db92668821cad5a94683d13d526.tar.gz
minetest-d6c052038fc28db92668821cad5a94683d13d526.tar.bz2
minetest-d6c052038fc28db92668821cad5a94683d13d526.zip
Add playernumber to favorites list
Diffstat (limited to 'src/guiLuaApi.cpp')
-rw-r--r--src/guiLuaApi.cpp2
1 files changed, 1 insertions, 1 deletions
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);