mirror of
https://github.com/minetest/minetest.git
synced 2024-11-23 16:13:46 +01:00
Lazy sunday typo fixing. s/unban_player_of_ip/unban_player_or_ip/g
This commit is contained in:
parent
0413f8ad9d
commit
4405310184
@ -72,7 +72,7 @@ bool ModApiBasic::Initialize(lua_State* L,int top) {
|
|||||||
retval &= API_FCT(get_ban_list);
|
retval &= API_FCT(get_ban_list);
|
||||||
retval &= API_FCT(get_ban_description);
|
retval &= API_FCT(get_ban_description);
|
||||||
retval &= API_FCT(ban_player);
|
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(get_password_hash);
|
||||||
retval &= API_FCT(notify_authentication_modified);
|
retval &= API_FCT(notify_authentication_modified);
|
||||||
|
|
||||||
@ -353,7 +353,7 @@ int ModApiBasic::l_ban_player(lua_State *L)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// unban_player_or_ip()
|
// 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;
|
NO_MAP_LOCK_REQUIRED;
|
||||||
const char * ip_or_name = luaL_checkstring(L, 1);
|
const char * ip_or_name = luaL_checkstring(L, 1);
|
||||||
|
@ -85,7 +85,7 @@ private:
|
|||||||
static int l_ban_player(lua_State *L);
|
static int l_ban_player(lua_State *L);
|
||||||
|
|
||||||
// unban_player_or_ip()
|
// 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)
|
// show_formspec(playername,formname,formspec)
|
||||||
static int l_show_formspec(lua_State *L);
|
static int l_show_formspec(lua_State *L);
|
||||||
|
Loading…
Reference in New Issue
Block a user