Skip to content

Commit

Permalink
Lazy sunday typo fixing. s/unban_player_of_ip/unban_player_or_ip/g
Browse files Browse the repository at this point in the history
  • Loading branch information
kahrl committed Jun 16, 2013
1 parent 0413f8a commit 4405310
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/script/lua_api/luaapi.cpp
Expand Up @@ -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);

Expand Down Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion src/script/lua_api/luaapi.h
Expand Up @@ -85,7 +85,7 @@ class ModApiBasic : public ModApiBase {
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);
Expand Down

0 comments on commit 4405310

Please sign in to comment.