*Update to Mangos 7187.
--HG-- branch : trunk
This commit is contained in:
1 parent
028ff8b163
commit
1be9f5dbdd
6 files changed
+191
-67
No files matched your search
@@ -1692,12 +1692,10 @@ bool ChatHandler::HandleKickPlayerCommand(const char *args)
|
||||
|
||||
if(sWorld.getConfig(CONFIG_SHOW_KICK_IN_WORLD) == 1)
|
||||
{
|
||||
|
||||
sWorld.SendWorldText(LANG_COMMAND_KICKMESSAGE, player->GetName(), kicker.c_str(), reason.c_str());
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
PSendSysMessage(LANG_COMMAND_KICKMESSAGE, player->GetName(), kicker.c_str(), reason.c_str());
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user