diff options
author | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-10-30 02:38:06 +0000 |
---|---|---|
committer | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-10-30 02:38:06 +0000 |
commit | 987f371c0bd02120e9ed8740b064e9fa02b83876 (patch) | |
tree | 26c031410f13d638670096ca219d59c6c19d306e /src/core/cs_access.c | |
parent | 6a9fa9f4d2ead592eb51a014491ce3aaee2029e8 (diff) |
Removed channel passwords and added /chanserv QOP command to add additional channel founders, aswell as access level 10000
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2599 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/core/cs_access.c')
-rw-r--r-- | src/core/cs_access.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/cs_access.c b/src/core/cs_access.c index 2fbca088a..bdf32b9d7 100644 --- a/src/core/cs_access.c +++ b/src/core/cs_access.c @@ -315,7 +315,7 @@ class CommandCSAccess : public Command return MOD_CONT; } - if (!is_founder(u, ci) && !u->nc->HasPriv("chanserv/access/modify")) + if (!IsFounder(u, ci) && !u->nc->HasPriv("chanserv/access/modify")) { notice_lang(s_ChanServ, u, ACCESS_DENIED); return MOD_CONT; @@ -376,7 +376,7 @@ class CommandCSLevels : public Command this->OnSyntaxError(u); else if (ci->flags & CI_XOP) notice_lang(s_ChanServ, u, CHAN_LEVELS_XOP); - else if (!is_founder(u, ci) && !u->nc->HasPriv("chanserv/access/modify")) + else if (!IsFounder(u, ci) && !u->nc->HasPriv("chanserv/access/modify")) notice_lang(s_ChanServ, u, ACCESS_DENIED); else if (cmd == "SET") { level = strtol(s, &error, 10); |