]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_nonotice.cpp
Restore <options:exemptchanops> with long names
[user/henk/code/inspircd.git] / src / modules / m_nonotice.cpp
index fe1e0a46d33690162dc7c2da61ab08379e52135b..b3f3d8da6e7f24215c480a30c5bb6e620048e3d7 100644 (file)
@@ -53,7 +53,7 @@ class ModuleNoNotice : public Module
                                        // ulines are exempt.
                                        return MOD_RES_PASSTHRU;
                                }
-                               FIRST_MOD_RESULT(OnChannelRestrictionApply, res, (user,c,"nonotice"));
+                               res = ServerInstance->OnCheckExemption(user,c,"nonotice");
                                if (res == MOD_RES_ALLOW)
                                        return MOD_RES_PASSTHRU;
                                else