diff options
author | Kahrl <kahrl@gmx.net> | 2013-06-16 14:07:12 +0200 |
---|---|---|
committer | Kahrl <kahrl@gmx.net> | 2013-06-16 14:07:12 +0200 |
commit | 44053101840594e133886986d28e557bdfb57e8b (patch) | |
tree | 61b6036d77ed6196329017d69b2cadf906c4fd56 /src/script | |
parent | 0413f8ad9d0c1457819f42909ee169287effe772 (diff) | |
download | minetest-44053101840594e133886986d28e557bdfb57e8b.tar.gz minetest-44053101840594e133886986d28e557bdfb57e8b.tar.bz2 minetest-44053101840594e133886986d28e557bdfb57e8b.zip |
Lazy sunday typo fixing. s/unban_player_of_ip/unban_player_or_ip/g
Diffstat (limited to 'src/script')
-rw-r--r-- | src/script/lua_api/luaapi.cpp | 4 | ||||
-rw-r--r-- | src/script/lua_api/luaapi.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/script/lua_api/luaapi.cpp b/src/script/lua_api/luaapi.cpp index 6d7e32730..180a44b26 100644 --- a/src/script/lua_api/luaapi.cpp +++ b/src/script/lua_api/luaapi.cpp @@ -72,7 +72,7 @@ bool ModApiBasic::Initialize(lua_State* L,int top) { retval &= API_FCT(get_ban_list); retval &= API_FCT(get_ban_description); retval &= API_FCT(ban_player); - retval &= API_FCT(unban_player_of_ip); + retval &= API_FCT(unban_player_or_ip); retval &= API_FCT(get_password_hash); retval &= API_FCT(notify_authentication_modified); @@ -353,7 +353,7 @@ int ModApiBasic::l_ban_player(lua_State *L) } // unban_player_or_ip() -int ModApiBasic::l_unban_player_of_ip(lua_State *L) +int ModApiBasic::l_unban_player_or_ip(lua_State *L) { NO_MAP_LOCK_REQUIRED; const char * ip_or_name = luaL_checkstring(L, 1); diff --git a/src/script/lua_api/luaapi.h b/src/script/lua_api/luaapi.h index 592046965..9623502c2 100644 --- a/src/script/lua_api/luaapi.h +++ b/src/script/lua_api/luaapi.h @@ -85,7 +85,7 @@ private: static int l_ban_player(lua_State *L); // unban_player_or_ip() - static int l_unban_player_of_ip(lua_State *L); + static int l_unban_player_or_ip(lua_State *L); // show_formspec(playername,formname,formspec) static int l_show_formspec(lua_State *L); |