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 committed 2009-12-27 16:10:15 +01:00
1 parent 7e2855f53b
commit d82d10ff36
5 files changed
+20

No files matched your search

+3
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;