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:
parent
2bd37f21b5
commit
c98b577f21
+1
-1
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user