aboutsummaryrefslogtreecommitdiffstats
path: root/modules/clearchan.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2026-03-02 20:59:41 +0000
committerGravatar Sadie Powell2026-03-02 21:09:27 +0000
commit7110535309675a6579c57900ef75498bfb2e0ce6 (patch)
treed419a876ee5534e5aef23f14efde5161d92a0126 /modules/clearchan.cpp
parentLoad the swhois module if a config contains the swhois_ext module. (diff)
Rename ServiceProvider::creator to service_creator and add GetSource.
Diffstat (limited to 'modules/clearchan.cpp')
-rw-r--r--modules/clearchan.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/clearchan.cpp b/modules/clearchan.cpp
index 57fc39947..fef47a21c 100644
--- a/modules/clearchan.cpp
+++ b/modules/clearchan.cpp
@@ -91,7 +91,7 @@ public:
// Attach to the appropriate hook so we're able to hide the QUIT/KICK messages
Implementation hook = (kick ? I_OnUserKick : I_OnBuildNeighborList);
- ServerInstance->Modules.Attach(hook, creator);
+ ServerInstance->Modules.Attach(hook, this->service_creator);
std::string mask;
// Now remove all local non-opers from the channel
@@ -134,7 +134,7 @@ public:
ServerInstance->Users.QuitUser(curr, reason);
}
- ServerInstance->Modules.Detach(hook, creator);
+ ServerInstance->Modules.Detach(hook, this->service_creator);
if (xlf)
ServerInstance->XLines->ApplyLines();