diff options
| author | geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2007-08-28 14:54:49 +0000 |
|---|---|---|
| committer | geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2007-08-28 14:54:49 +0000 |
| commit | b89cfa30e80c30cadb9a355f3e550bad89687794 (patch) | |
| tree | d3fe92ef82debf4516a0deed6fe3d6460460e06e /include | |
| parent | 405d39fcdc5d68dd584600d2cd808fb037471e72 (diff) | |
BUILD : 1.7.19 (1284) BUGS : 770 NOTES : SuperAdmins now have a higher channel level than channel founders so they will always win from founders
git-svn-id: svn://svn.anope.org/anope/trunk@1284 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1002 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'include')
| -rw-r--r-- | include/services.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/services.h b/include/services.h index 951d0f215..4507e2b4a 100644 --- a/include/services.h +++ b/include/services.h @@ -570,10 +570,15 @@ typedef struct { /* Note that these two levels also serve as exclusive boundaries for valid * access levels. ACCESS_FOUNDER may be assumed to be strictly greater * than any valid access level, and ACCESS_INVALID may be assumed to be - * strictly less than any valid access level. + * strictly less than any valid access level. Also read below. */ #define ACCESS_FOUNDER 10000 /* Numeric level indicating founder access */ #define ACCESS_INVALID -10000 /* Used in levels[] for disabled settings */ +/* There is one exception to the above access levels: SuperAdmins will have + * access level 10001. This level is never stored, however; it is only used + * in comparison and to let SuperAdmins win from founders where needed + */ +#define ACCESS_SUPERADMIN 10001 /* Levels for xOP */ |
