aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorclick <none@none>2010-11-23 19:53:42 +0100
committerclick <none@none>2010-11-23 19:53:42 +0100
commitf25cbacf723ad200eea58bf7d053934a98770f18 (patch)
tree8a1931a57e89c47d0035f28bd82ba401eca33d6b
parentf18cbadf7f57f211a962ca93377175a3907e94fc (diff)
Core/Commands: Forgot one GetIntConfig->GetBoolConfig -entry in previous commit
--HG-- branch : trunk
-rwxr-xr-xsrc/server/game/Chat/Commands/Level2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Chat/Commands/Level2.cpp b/src/server/game/Chat/Commands/Level2.cpp
index ac2fc07f883..9ae4df9e95a 100755
--- a/src/server/game/Chat/Commands/Level2.cpp
+++ b/src/server/game/Chat/Commands/Level2.cpp
@@ -235,7 +235,7 @@ bool ChatHandler::HandleKickPlayerCommand(const char *args)
if (HasLowerSecurity(player, 0))
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());
}