commented security hacks

This commit is contained in:
yehonal
2016-07-06 15:26:52 +02:00
committed by Yehonal
parent b88e0fe9a8
commit aaa7a82ca0
2 changed files with 7 additions and 3 deletions

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;