diff options
| author | 2025-12-31 18:18:25 +0000 | |
|---|---|---|
| committer | 2025-12-31 18:18:25 +0000 | |
| commit | ce801921e8d22b3647fcc207a8966252b06294ee (patch) | |
| tree | b07f6093251346f4516d8cd27680b7e97a204b33 /src/modules/m_alias.cpp | |
| parent | Avoid excessively long FJOINs when using the 1205 protocol. (diff) | |
Allow specifying a module name in SetPriority.
Diffstat (limited to 'src/modules/m_alias.cpp')
| -rw-r--r-- | src/modules/m_alias.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/modules/m_alias.cpp b/src/modules/m_alias.cpp index 816765a9e..a52523943 100644 --- a/src/modules/m_alias.cpp +++ b/src/modules/m_alias.cpp @@ -403,8 +403,7 @@ public: void Prioritize() override { // Prioritise after spanningtree so that channel aliases show the alias before the effects. - Module* linkmod = ServerInstance->Modules.Find("spanningtree"); - ServerInstance->Modules.SetPriority(this, I_OnUserPostMessage, PRIORITY_AFTER, linkmod); + ServerInstance->Modules.SetPriority(this, I_OnUserPostMessage, PRIORITY_AFTER, "spanningtree"); } }; |
