mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2025-11-29 17:38:24 +08:00
commented security hacks
This commit is contained in:
@@ -78,12 +78,14 @@ void WorldSession::HandleMessagechatOpcode(WorldPacket & recvData)
|
|||||||
case CHAT_MSG_PARTY_LEADER:
|
case CHAT_MSG_PARTY_LEADER:
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
if (sender->GetTotalPlayedTime() < 2*HOUR)
|
/*[AZTH] we should enable it using a conf
|
||||||
|
if (sender->GetTotalPlayedTime() < 2*HOUR)
|
||||||
{
|
{
|
||||||
SendNotification("Speaking is allowed after playing for at least 2 hours. You may use party and guild chat.");
|
SendNotification("Speaking is allowed after playing for at least 2 hours. You may use party and guild chat.");
|
||||||
recvData.rfinish();
|
recvData.rfinish();
|
||||||
return;
|
return;
|
||||||
}
|
}*/
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
// pussywizard:
|
// pussywizard:
|
||||||
|
|||||||
@@ -1543,11 +1543,13 @@ public:
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (handler->GetSession()->GetSecurity() < SEC_ADMINISTRATOR)
|
/* [AZTH] Sunwell hack
|
||||||
|
if (handler->GetSession()->GetSecurity() < SEC_ADMINISTRATOR)
|
||||||
{
|
{
|
||||||
handler->PSendSysMessage("You may only remove items. Adding items is available for higher GMLevel.");
|
handler->PSendSysMessage("You may only remove items. Adding items is available for higher GMLevel.");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
// Adding items
|
// Adding items
|
||||||
uint32 noSpaceForCount = 0;
|
uint32 noSpaceForCount = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user