mirror of
https://github.com/anope/anope.git
synced 2026-06-12 19:14:47 +02:00
BUILD : 1.7.5 (348) BUGS : NOTES : /os MODE was not functioning, by joining 2 seperate if statements into one the problem was solved. Many Thanks to DrStein for the patch.
git-svn-id: svn://svn.anope.org/anope/trunk@348 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@224 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
parent
ff5c52e680
commit
60915bd2f8
@@ -3,6 +3,7 @@ Anope Version S V N
|
||||
Provided by Anope Dev. <dev@anope.org> - 2004
|
||||
08/24 A New -l option for am script to list possible selectors. [ #00]
|
||||
09/08 A Removed rand() and ported bsd's arc4random() to fit our needs. [ #00]
|
||||
09/14 F Fixed /os MODE by joining nested ifs into one. [ #00]
|
||||
09/14 F Protection unsetting now does -a instead of +a. [ #00]
|
||||
09/12 F Updated Dutch language file. [ #00]
|
||||
09/10 F Typo in anope_cmd_relase_svshold function name. [ #00]
|
||||
|
||||
+4
-5
@@ -1442,11 +1442,10 @@ static int do_os_mode(User * u)
|
||||
} else if (c->bouncy_modes) {
|
||||
notice_lang(s_OperServ, u, OPER_BOUNCY_MODES_U_LINE);
|
||||
return MOD_CONT;
|
||||
} else if (ircd->adminmode) {
|
||||
if ((!is_services_admin(u)) && (c->mode & ircd->adminmode)) {
|
||||
notice_lang(s_OperServ, u, PERMISSION_DENIED);
|
||||
return MOD_CONT;
|
||||
}
|
||||
} else if ((ircd->adminmode) && (!is_services_admin(u))
|
||||
&& (c->mode & ircd->adminmode)) {
|
||||
notice_lang(s_OperServ, u, PERMISSION_DENIED);
|
||||
return MOD_CONT;
|
||||
} else {
|
||||
anope_cmd_mode(s_OperServ, chan, "%s", modes);
|
||||
|
||||
|
||||
+5
-1
@@ -8,10 +8,14 @@
|
||||
VERSION_MAJOR="1"
|
||||
VERSION_MINOR="7"
|
||||
VERSION_PATCH="5"
|
||||
VERSION_BUILD="347"
|
||||
VERSION_BUILD="348"
|
||||
|
||||
# $Log$
|
||||
#
|
||||
# BUILD : 1.7.5 (348)
|
||||
# BUGS :
|
||||
# NOTES : /os MODE was not functioning, by joining 2 seperate if statements into one the problem was solved. Many Thanks to DrStein for the patch.
|
||||
#
|
||||
# BUILD : 1.7.5 (347)
|
||||
# BUGS :
|
||||
# NOTES : Fixed PROTECT_UNSET_MODE from +a to -a -- Certus was too lazy to do it so he asked if i could :\
|
||||
|
||||
Reference in New Issue
Block a user