commented security hacks
This commit is contained in:
parent
b88e0fe9a8
commit
aaa7a82ca0
@ -78,12 +78,14 @@ void WorldSession::HandleMessagechatOpcode(WorldPacket & recvData)
|
||||
case CHAT_MSG_PARTY_LEADER:
|
||||
break;
|
||||
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.");
|
||||
recvData.rfinish();
|
||||
return;
|
||||
}
|
||||
}*/
|
||||
break;
|
||||
}
|
||||
|
||||
// pussywizard:
|
||||
|
||||
@ -1543,11 +1543,13 @@ public:
|
||||
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.");
|
||||
return false;
|
||||
}
|
||||
*/
|
||||
|
||||
// Adding items
|
||||
uint32 noSpaceForCount = 0;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user