aboutsummaryrefslogtreecommitdiff
path: root/modules/cloak_custom.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/cloak_custom.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/cloak_custom.cpp')
-rw-r--r--modules/cloak_custom.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/cloak_custom.cpp b/modules/cloak_custom.cpp
index 3baecf737..adb5370a3 100644
--- a/modules/cloak_custom.cpp
+++ b/modules/cloak_custom.cpp
@@ -246,7 +246,7 @@ public:
Cloak::MethodPtr Create(const std::shared_ptr<ConfigTag>& tag, bool primary) override
{
if (CustomMethod::created)
- throw ModuleException(creator, "You can only have one custom cloak method, at " + tag->source.str());
+ throw ModuleException(this->service_creator, "You can only have one custom cloak method, at {}", tag->source.str());
return std::make_shared<CustomMethod>(this, tag, customcloakext);
}