aboutsummaryrefslogtreecommitdiffstats
path: root/modules/services.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2024-08-17 00:20:46 +0100
committerGravatar Sadie Powell2024-08-17 00:20:46 +0100
commit7e834f5173518ffbd4607b2f6ebf2b5bec9e2ba9 (patch)
tree9cfe7b6792f1320bfc8415f514f9c17c25d37c13 /modules/services.cpp
parentRefactor "CAPAB CAPABILITIES" code. (diff)
downloadinspircd++-7e834f5173518ffbd4607b2f6ebf2b5bec9e2ba9.tar.gz
inspircd++-7e834f5173518ffbd4607b2f6ebf2b5bec9e2ba9.tar.bz2
inspircd++-7e834f5173518ffbd4607b2f6ebf2b5bec9e2ba9.zip
Fix some format strings in the services message.
Diffstat (limited to 'modules/services.cpp')
-rw-r--r--modules/services.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/services.cpp b/modules/services.cpp
index 85c1659b6..f96cc34a7 100644
--- a/modules/services.cpp
+++ b/modules/services.cpp
@@ -56,8 +56,8 @@ private:
{
if (irc::equals(target, server->GetName()))
{
- ServerInstance->Logs.Debug(MODNAME, "Services server %s (%s) %s.", server->GetName().c_str(),
- server->GetId().c_str(), online ? "came online" : "went offline");
+ ServerInstance->Logs.Debug(MODNAME, "Services server {} ({}) {}.", server->GetName(),
+ server->GetId(), online ? "came online" : "went offline");
SetAvailable(online);
}
}
@@ -81,14 +81,14 @@ public:
{
if (irc::equals(target, server.servername))
{
- ServerInstance->Logs.Debug(MODNAME, "Changed the services server to %s.",
- server.servername.c_str());
+ ServerInstance->Logs.Debug(MODNAME, "Changed the services server to {}.",
+ server.servername);
SetAvailable(true);
return;
}
}
- ServerInstance->Logs.Debug(MODNAME, "The services server (%s) is currently unavailable.",
+ ServerInstance->Logs.Debug(MODNAME, "The services server ({}) is currently unavailable.",
target.c_str());
SetAvailable(false);
}