Merge pull request #1002 from errorage/2013-07-22-permission-flags-expansion

Expands the max number of admin permission flags from 16 to 31
This commit is contained in:
Cheridan
2013-07-25 10:44:00 -07:00
10 changed files with 63 additions and 37 deletions
+1 -1
View File
@@ -210,7 +210,7 @@ datum/preferences
dat += "<b>Adminhelp Sound:</b> "
dat += "<a href='?_src_=prefs;preference=hear_adminhelps'>[(toggles & SOUND_ADMINHELP)?"On":"Off"]</a><br>"
if(unlock_content || (user.client.holder && (user.client.holder.rights & R_ADMIN)))
if(unlock_content || check_rights_for(user, R_ADMIN))
dat += "<b>OOC:</b> <span style='border: 1px solid #161616; background-color: [ooccolor];'>&nbsp;&nbsp;&nbsp;</span> <a href='?_src_=prefs;preference=ooccolor;task=input'>Change</a><br>"
if(unlock_content)