aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_ircv3_labeledresponse.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2025-12-31 18:18:25 +0000
committerGravatar Sadie Powell2025-12-31 18:18:25 +0000
commitce801921e8d22b3647fcc207a8966252b06294ee (patch)
treeb07f6093251346f4516d8cd27680b7e97a204b33 /src/modules/m_ircv3_labeledresponse.cpp
parentAvoid excessively long FJOINs when using the 1205 protocol. (diff)
Allow specifying a module name in SetPriority.
Diffstat (limited to 'src/modules/m_ircv3_labeledresponse.cpp')
-rw-r--r--src/modules/m_ircv3_labeledresponse.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/modules/m_ircv3_labeledresponse.cpp b/src/modules/m_ircv3_labeledresponse.cpp
index 8b1e8d04f..8fe54dc4e 100644
--- a/src/modules/m_ircv3_labeledresponse.cpp
+++ b/src/modules/m_ircv3_labeledresponse.cpp
@@ -228,8 +228,7 @@ public:
void Prioritize() override
{
- Module* alias = ServerInstance->Modules.Find("alias");
- ServerInstance->Modules.SetPriority(this, I_OnPreCommand, PRIORITY_BEFORE, alias);
+ ServerInstance->Modules.SetPriority(this, I_OnPreCommand, PRIORITY_BEFORE, "alias");
}
};