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_connectban.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_connectban.cpp')
| -rw-r--r-- | src/modules/m_connectban.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/modules/m_connectban.cpp b/src/modules/m_connectban.cpp index 1c4eff783..d59d02796 100644 --- a/src/modules/m_connectban.cpp +++ b/src/modules/m_connectban.cpp @@ -93,8 +93,7 @@ public: void Prioritize() override { - Module* corexline = ServerInstance->Modules.Find("core_xline"); - ServerInstance->Modules.SetPriority(this, I_OnChangeRemoteAddress, PRIORITY_AFTER, corexline); + ServerInstance->Modules.SetPriority(this, I_OnChangeRemoteAddress, PRIORITY_AFTER, "core_xline"); } void ReadConfig(ConfigStatus& status) override |
