From 8054398f76b694933d7924e7485915037b0d9c46 Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 21 Jul 2007 22:05:45 +0000 Subject: oper-immune filters should be fixed now git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7493 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_filter.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/modules') diff --git a/src/modules/m_filter.h b/src/modules/m_filter.h index f2986804c..9c9a1238e 100644 --- a/src/modules/m_filter.h +++ b/src/modules/m_filter.h @@ -15,7 +15,6 @@ enum FilterFlags { - FLAG_NOOPERS = 1, FLAG_PART = 2, FLAG_QUIT = 4, FLAG_PRIVMSG = 8, @@ -209,7 +208,7 @@ class cmd_filter : public command_t bool FilterBase::AppliesToMe(userrec* user, FilterResult* filter, int flags) { - if ((flags & FLAG_NOOPERS) && (filter->flag_no_opers) && IS_OPER(user)) + if ((filter->flag_no_opers) && IS_OPER(user)) return false; if ((flags & FLAG_PRIVMSG) && (!filter->flag_privmsg)) return false; -- cgit v1.2.3