mirror of
https://github.com/anope/anope.git
synced 2026-07-02 20:23:13 +02:00
# BUILD : 1.7.18 (1229) # BUGS : 690 # NOTES : SAs can no longer move down other SAs to the SO list.
git-svn-id: svn://svn.anope.org/anope/trunk@1229 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@948 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
parent
976c246b69
commit
f70d6e35ec
@@ -111,6 +111,10 @@ int do_oper(User * u)
|
||||
} else {
|
||||
if (na->nc->flags & NI_SERVICES_ADMIN
|
||||
&& (res = slist_indexof(&servadmins, na->nc)) != -1) {
|
||||
if (!is_services_root(u)) {
|
||||
notice_lang(s_OperServ, u, PERMISSION_DENIED);
|
||||
return MOD_CONT;
|
||||
}
|
||||
slist_delete(&servadmins, res);
|
||||
na->nc->flags |= NI_SERVICES_OPER;
|
||||
notice_lang(s_OperServ, u, OPER_OPER_MOVED, nick);
|
||||
|
||||
Reference in New Issue
Block a user