1
0
mirror of https://github.com/anope/anope.git synced 2026-07-03 22:23:12 +02:00

BUILD : 1.7.14 (1059) BUGS : 525 NOTES : In cs_xop, copied the check from ADD to DEL, so you still need AOP to remove people from any XOP list (HOP could delete VOP)

git-svn-id: svn://svn.anope.org/anope/trunk@1059 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@783 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
2006-06-18 21:26:26 +00:00
parent c82494e3a8
commit 02db7e6438
3 changed files with 11 additions and 1 deletions
+5
View File
@@ -356,6 +356,11 @@ int do_xop(User * u, char *xname, int xlev, int *xmsgs)
ulev = get_access(u, ci);
if ((xlev >= ulev || ulev < ACCESS_AOP) && !is_servadmin) {
notice_lang(s_ChanServ, u, PERMISSION_DENIED);
return MOD_CONT;
}
/* Special case: is it a number/list? Only do search if it isn't. */
if (isdigit(*nick) && strspn(nick, "1234567890,-") == strlen(nick)) {
int count, last = -1, perm = 0;