diff options
| author | 2026-03-02 20:59:41 +0000 | |
|---|---|---|
| committer | 2026-03-02 21:09:27 +0000 | |
| commit | 7110535309675a6579c57900ef75498bfb2e0ce6 (patch) | |
| tree | d419a876ee5534e5aef23f14efde5161d92a0126 /modules/cloak_custom.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/cloak_custom.cpp')
| -rw-r--r-- | modules/cloak_custom.cpp | 2 |
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); } |
