summaryrefslogtreecommitdiff
path: root/src/core/cs_drop.c
diff options
context:
space:
mode:
authorAdam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864>2009-10-30 02:38:06 +0000
committerAdam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864>2009-10-30 02:38:06 +0000
commit987f371c0bd02120e9ed8740b064e9fa02b83876 (patch)
tree26c031410f13d638670096ca219d59c6c19d306e /src/core/cs_drop.c
parent6a9fa9f4d2ead592eb51a014491ce3aaee2029e8 (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_drop.c')
-rw-r--r--src/core/cs_drop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/cs_drop.c b/src/core/cs_drop.c
index a8b838f1f..3a5ca45a7 100644
--- a/src/core/cs_drop.c
+++ b/src/core/cs_drop.c
@@ -49,7 +49,7 @@ class CommandCSDrop : public Command
return MOD_CONT;
}
- if ((ci->flags & CI_SECUREFOUNDER ? !is_real_founder(u, ci) : !is_founder(u, ci)) && !u->nc->HasCommand("chanserv/drop"))
+ if ((ci->flags & CI_SECUREFOUNDER ? !IsRealFounder(u, ci) : !IsFounder(u, ci)) && !u->nc->HasCommand("chanserv/drop"))
{
notice_lang(s_ChanServ, u, ACCESS_DENIED);
return MOD_CONT;
@@ -81,7 +81,7 @@ class CommandCSDrop : public Command
* drop the channel before issuing the wallops.
*/
if (WallDrop) {
- if ((level < ACCESS_FOUNDER) || (!is_real_founder(u, ci) && ci->flags & CI_SECUREFOUNDER))
+ if ((level < ACCESS_FOUNDER) || (!IsRealFounder(u, ci) && ci->flags & CI_SECUREFOUNDER))
ircdproto->SendGlobops(s_ChanServ, "\2%s\2 used DROP on channel \2%s\2", u->nick, chan);
}