1
0
mirror of https://github.com/anope/anope.git synced 2026-07-01 02:06:37 +02:00

# 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
This commit is contained in:
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b
2006-03-03 10:57:27 +00:00
parent 2bd37f21b5
commit c98b577f21
3 changed files with 7 additions and 2 deletions
+1 -1
View File
@@ -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,