diff options
author | Sadie Powell <sadie@witchery.services> | 2025-02-11 13:48:11 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2025-02-11 13:48:11 +0000 |
commit | 1f7aa241bb75290fc7a4a8255461d83061a07474 (patch) | |
tree | c6b701e7f1c9290543f21b4715c514d177db7b99 /modules/commands/os_ignore.cpp | |
parent | a8eda0676d722a7a7fbcbe8620245ee69bb431a1 (diff) |
Prioritise operserv/ignore above other modules.
Closes #471.
Diffstat (limited to 'modules/commands/os_ignore.cpp')
-rw-r--r-- | modules/commands/os_ignore.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
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)) |