diff options
| author | 2026-03-02 20:59:41 +0000 | |
|---|---|---|
| committer | 2026-03-02 21:09:27 +0000 | |
| commit | 7110535309675a6579c57900ef75498bfb2e0ce6 (patch) | |
| tree | d419a876ee5534e5aef23f14efde5161d92a0126 /modules/clearchan.cpp | |
| parent | Load 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.cpp | 4 |
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(); |
