aboutsummaryrefslogtreecommitdiffstats
path: root/src/commands.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/commands.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 'src/commands.cpp')
-rw-r--r--src/commands.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands.cpp b/src/commands.cpp
index 8f71b3d00..fa9ac94b5 100644
--- a/src/commands.cpp
+++ b/src/commands.cpp
@@ -437,7 +437,7 @@ Command::~Command()
void Command::RegisterService()
{
if (!ServerInstance->Parser.AddCommand(this))
- throw ModuleException(creator, "Command already exists: {}", this->service_name);
+ throw ModuleException(this->service_creator, "Command already exists: {}", this->service_name);
}
void Command::UnregisterService()