Core/Commands: Forgot one GetIntConfig->GetBoolConfig -entry in previous commit

--HG--
branch : trunk
This commit is contained in:
click
2010-11-23 19:53:42 +01:00
parent f18cbadf7f
commit f25cbacf72
+1 -1
View File
@@ -235,7 +235,7 @@ bool ChatHandler::HandleKickPlayerCommand(const char *args)
if (HasLowerSecurity(player, 0)) if (HasLowerSecurity(player, 0))
return false; return false;
if (sWorld.getIntConfig(CONFIG_SHOW_KICK_IN_WORLD) == 1) if (sWorld.getBoolConfig(CONFIG_SHOW_KICK_IN_WORLD) == 1)
{ {
sWorld.SendWorldText(LANG_COMMAND_KICKMESSAGE, player->GetName(), kicker.c_str(), reason.c_str()); sWorld.SendWorldText(LANG_COMMAND_KICKMESSAGE, player->GetName(), kicker.c_str(), reason.c_str());
} }