Added new config options chat channel level limit, option to disable player commands of any kind

--HG--
branch : trunk
This commit is contained in:
n0n4m3
2009-12-27 16:10:15 +01:00
parent 7e2855f53b
commit d82d10ff36
5 changed files with 20 additions and 0 deletions

View File

@@ -510,6 +510,9 @@ void WorldSession::HandleMessagechatOpcode( WorldPacket & recv_data )
if (!processChatmessageFurtherAfterSecurityChecks(msg, lang))
return;
if (_player->getLevel() < sWorld.getConfig(CONFIG_CHAT_CHANNEL_LEVEL_REQ))
return;
if(msg.empty())
break;