mirror of
https://github.com/anope/anope.git
synced 2026-07-09 17:03:13 +02:00
BUILD : 1.7.7 (547) BUGS : 272 275 NOTES : Fixes up help for their access levels, and ircops except from ignore in all places
git-svn-id: svn://svn.anope.org/anope/trunk@547 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@400 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
parent
1aa79bb712
commit
50fb0cd6e7
@@ -80,6 +80,19 @@ IgnoreData *get_ignore(const char *nick)
|
||||
IgnoreData **whichlistast = &ignore[42]; /* * */
|
||||
IgnoreData **whichlistqst = &ignore[63]; /* ? */
|
||||
int finished = 0;
|
||||
|
||||
|
||||
/* User has disabled the IGNORE system */
|
||||
if (!allow_ignore) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/* if an oper gets on the ignore list we let them privmsg, this will allow
|
||||
them in places we call get_ignore to get by */
|
||||
if (u && is_oper(u)) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
for (ign = *whichlist, prev = NULL; ign; prev = ign, ign = ign->next) {
|
||||
if (stricmp(ign->who, nick) == 0) {
|
||||
finished = 1;
|
||||
|
||||
Reference in New Issue
Block a user