Log in

View Full Version : Excepting moderators from server load restrictions


Mark Hewitt
06-06-2002, 12:00 PM
This is probably in the wrong forum...

I've had to put a log in restriction on the server recently as it's become overloaded. Thankful Admins are except from this, but not moderators. Is there a way I can extend the exemption to moderators too?

Thanks :)

Admin
06-06-2002, 12:22 PM
In global.php replace this:
if ($servertoobusy && $bbuserinfo[usergroupid]!=6) {
With this:
if ($servertoobusy and ($bbuserinfo['usergroupid'] != 6 and $bbuserinfo['usergroupid'] != 5 and $bbuserinfo['usergroupid'] != 7)) {