aboutsummaryrefslogtreecommitdiffstats
path: root/src/extensible.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 /src/extensible.cpp
parentLoad the swhois module if a config contains the swhois_ext module. (diff)
downloadinspircd++-7110535309675a6579c57900ef75498bfb2e0ce6.tar.gz
inspircd++-7110535309675a6579c57900ef75498bfb2e0ce6.tar.bz2
inspircd++-7110535309675a6579c57900ef75498bfb2e0ce6.zip
Rename ServiceProvider::creator to service_creator and add GetSource.
Diffstat (limited to 'src/extensible.cpp')
-rw-r--r--src/extensible.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/extensible.cpp b/src/extensible.cpp
index 0ac409017..39ff8b6fe 100644
--- a/src/extensible.cpp
+++ b/src/extensible.cpp
@@ -31,7 +31,7 @@ void ExtensionManager::BeginUnregister(Module* module, std::vector<ExtensionItem
{
ExtMap::iterator thistype = type++;
ExtensionItem* item = thistype->second;
- if (item->creator == module)
+ if (item->service_creator == module)
{
items.push_back(item);
types.erase(thistype);
@@ -103,7 +103,7 @@ void ExtensionItem::OnSync(const Extensible* container, void* item, Server* serv
void ExtensionItem::RegisterService()
{
if (!ServerInstance->Extensions.Register(this))
- throw ModuleException(creator, "Extension already exists: {}", this->service_name);
+ throw ModuleException(this->service_creator, "Extension already exists: {}", this->service_name);
}
void* ExtensionItem::GetRaw(const Extensible* container) const