Added new config options chat channel level limit, option to disable player commands of any kind
--HG-- branch : trunk
This commit is contained in:
1 parent
7e2855f53b
commit
d82d10ff36
5 files changed
+20
No files matched your search
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user