All pastes #597422 Raw Edit

Someone

public text v1 · immutable
#597422 ·published 2007-06-30 16:35 UTC
rendered paste body
Index: ChatHandler.cpp
===================================================================
--- ChatHandler.cpp	(revision 3979)
+++ ChatHandler.cpp	(working copy)
@@ -131,7 +131,7 @@
                 SendPacket(&data);
                 return;
             }
-            if (!sWorld.getConfig(CONFIG_ALLOW_TWO_SIDE_INTERACTION_CHAT) && tSecurity == SEC_PLAYER && pSecurity == SEC_PLAYER )
+            if (!sWorld.getConfig(CONFIG_ALLOW_TWO_SIDE_INTERACTION_CHAT) && tSecurity <= SEC_MODERATOR && pSecurity <= SEC_MODERATOR )
             {
                 uint32 sidea = GetPlayer()->GetTeam();
                 uint32 sideb = player->GetTeam();