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_rline.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_rline.cpp')
| -rw-r--r-- | src/modules/m_rline.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/modules/m_rline.cpp b/src/modules/m_rline.cpp index a7c4d397b..cfd3b0434 100644 --- a/src/modules/m_rline.cpp +++ b/src/modules/m_rline.cpp @@ -358,8 +358,7 @@ public: void Prioritize() override { - Module* mod = ServerInstance->Modules.Find("gateway"); - ServerInstance->Modules.SetPriority(this, I_OnUserRegister, PRIORITY_AFTER, mod); + ServerInstance->Modules.SetPriority(this, I_OnUserRegister, PRIORITY_AFTER, "gateway"); } }; |
