diff options
| author | 2026-02-27 21:13:21 +0000 | |
|---|---|---|
| committer | 2026-03-02 19:01:01 +0000 | |
| commit | 0c02218d0666397c6ba2b8c0097df83f83d1f50f (patch) | |
| tree | fc102c2ebbfffadb985404478605e569da9d92b4 /src/extensible.cpp | |
| parent | Add irc::less and convert irc::insensitive_swo to use it. (diff) | |
Massive rework of how internal service providers work.
- ServiceType is dead. All modules use RegisterService now.
- Modules can implement UnregisterService which is called from
DelService now.
- Split the service type prefix into its own field.
- Renamed Service::name to Service::service_name. This revealed
a few bugs.
Diffstat (limited to 'src/extensible.cpp')
| -rw-r--r-- | src/extensible.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/extensible.cpp b/src/extensible.cpp index 1023a592b..0ac409017 100644 --- a/src/extensible.cpp +++ b/src/extensible.cpp @@ -91,7 +91,7 @@ void Extensible::UnhookExtensions(const std::vector<ExtensionItem*>& items) } ExtensionItem::ExtensionItem(Module* mod, const std::string& Key, ExtensionType exttype) - : ServiceProvider(mod, Key, SERVICE_METADATA) + : ServiceProvider(mod, "ExtensionItem", Key) , extype(exttype) { } |
