commented security hacks

This commit is contained in:
yehonal
2016-07-06 15:26:52 +02:00
parent 2b8c7a0fcc
commit afd5db6e82
2 changed files with 7 additions and 3 deletions
+4 -2
View File
@@ -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:
+3 -1
View File
@@ -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;