From 1f7aa241bb75290fc7a4a8255461d83061a07474 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Tue, 11 Feb 2025 13:48:11 +0000 Subject: Prioritise operserv/ignore above other modules. Closes #471. --- modules/commands/os_ignore.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'modules') diff --git a/modules/commands/os_ignore.cpp b/modules/commands/os_ignore.cpp index 05dd41821..dd8ab7886 100644 --- a/modules/commands/os_ignore.cpp +++ b/modules/commands/os_ignore.cpp @@ -404,6 +404,11 @@ class OSIgnore : public Module } + void Prioritize() anope_override + { + ModuleManager::SetPriority(this, I_OnBotPrivmsg, PRIORITY_FIRST); + } + EventReturn OnBotPrivmsg(User *u, BotInfo *bi, Anope::string &message) anope_override { if (!u->HasMode("OPER") && this->osignoreservice.Find(u->nick)) -- cgit