diff options
author | trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b <trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2005-01-17 01:37:10 +0000 |
---|---|---|
committer | trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b <trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2005-01-17 01:37:10 +0000 |
commit | 50fb0cd6e76545dec1b32e70577e5071092840a3 (patch) | |
tree | 8155b0b0eaaf8a86efa7ba0fa15fc17c8c40f37f /src/process.c | |
parent | 1aa79bb71215f1dd2d936a61dd35a1c86b9eb082 (diff) |
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
Diffstat (limited to 'src/process.c')
-rw-r--r-- | src/process.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/process.c b/src/process.c index 6d8e87d13..838542fe1 100644 --- a/src/process.c +++ b/src/process.c @@ -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; |