aboutsummaryrefslogtreecommitdiffstats
path: root/src/mode.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2026-03-29 15:48:47 +0100
committerGravatar Sadie Powell2026-03-29 17:38:40 +0100
commitaed47513a5410a10ac9b477c621fbce425593c7f (patch)
treed362cc0f0c5a8ae1ae9e7d50e83e553391b14071 /src/mode.cpp
parentFix building on older versions of Clang. (diff)
Move service types to their own namespace.
- ServiceProvider is now Service::Provider - DataProvider is now Service::SimpleProvider (the old name does not really make sense now we don't have SERVICE_DATA and the only difference is automatic registration. - Some members of ModuleManager have been elevated to the Service namespace in case other code wants to use them.
Diffstat (limited to 'src/mode.cpp')
-rw-r--r--src/mode.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mode.cpp b/src/mode.cpp
index 6685be2b4..208111c37 100644
--- a/src/mode.cpp
+++ b/src/mode.cpp
@@ -32,7 +32,7 @@
#include "numerichelper.h"
ModeHandler::ModeHandler(const WeakModulePtr& Creator, const std::string& Name, char modeletter, ParamSpec Params, ModeType type, Class mclass)
- : ServiceProvider(Creator, FMT::format("ModeHandler/{}", type == MODETYPE_CHANNEL ? "C" : "U"), Name)
+ : Service::Provider(Creator, FMT::format("ModeHandler/{}", type == MODETYPE_CHANNEL ? "C" : "U"), Name)
, modeid(ModeParser::MODEID_MAX)
, parameters_taken(Params)
, mode(ServerInstance->Config->ConfValue("modes")->getCharacter(Name, modeletter))