diff options
author | certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b <certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2006-03-03 10:57:27 +0000 |
---|---|---|
committer | certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b <certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2006-03-03 10:57:27 +0000 |
commit | c98b577f218d4cd154dc75d30c03d3c0a74f4e4b (patch) | |
tree | 7b88b11704a6aacc29daa907080074037f4dd888 /src/core/cs_modes.c | |
parent | 2bd37f21b553e845f67ba715f3ad87f2245f8dbb (diff) |
# BUILD : 1.7.13 (1004)
# BUGS : 333
# NOTES : Fixed botserv's mode stuff with protect umode
git-svn-id: svn://svn.anope.org/anope/trunk@1004 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@729 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/core/cs_modes.c')
-rw-r--r-- | src/core/cs_modes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/cs_modes.c b/src/core/cs_modes.c index c2696a108..a1a212649 100644 --- a/src/core/cs_modes.c +++ b/src/core/cs_modes.c @@ -374,7 +374,7 @@ int do_util(User * u, CSModeUtil * util) } else if (*util->mode == '-' && !is_same && (ci->flags & CI_PEACE) && (get_access(u2, ci) >= get_access(u, ci))) { notice_lang(s_ChanServ, u, PERMISSION_DENIED); - } else if (*util->mode == '-' && is_protected(u2)) { + } else if (*util->mode == '-' && is_protected(u2) && !is_same) { notice_lang(s_ChanServ, u, PERMISSION_DENIED); } else { anope_cmd_mode(whosends(ci), c->name, "%s %s", util->mode, |