]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_hideoper.cpp
m_chanfilter: Apply filters to part messages (#1702)
[user/henk/code/inspircd.git] / src / modules / m_hideoper.cpp
index 8feb1a852dd65adc12076b444265190dd68db374..d78ed538b64e2046fad85617897f777b734c6b32 100644 (file)
@@ -124,7 +124,7 @@ class ModuleHideOper
                                return MOD_RES_DENY;
 
                        size_t flag_index;
-                       if (!request.GetFlagIndex('f', flag_index))
+                       if (!request.GetFieldIndex('f', flag_index))
                                return MOD_RES_PASSTHRU;
 
                        // hide the "*" that marks the user as an oper from the /WHO line