From b89cfa30e80c30cadb9a355f3e550bad89687794 Mon Sep 17 00:00:00 2001 From: "geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b" Date: Tue, 28 Aug 2007 14:54:49 +0000 Subject: 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 --- include/services.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'include') 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 */ -- cgit