summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_filter.h3
1 files changed, 1 insertions, 2 deletions
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;