diff options
| author | 2023-01-23 07:42:07 +0000 | |
|---|---|---|
| committer | 2023-01-23 13:07:53 +0000 | |
| commit | 5c4badf8ea3ba775854f0d26d3f2e0e119584faa (patch) | |
| tree | 05dd2c5c545f12f71866be6422146477ddd30e3f /src/modules/m_satopic.cpp | |
| parent | Vendor the fmtlib library. (diff) | |
Replace InspIRCd::Format with fmt::format.
Diffstat (limited to 'src/modules/m_satopic.cpp')
| -rw-r--r-- | src/modules/m_satopic.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_satopic.cpp b/src/modules/m_satopic.cpp index 88beb9274..0fba5b0af 100644 --- a/src/modules/m_satopic.cpp +++ b/src/modules/m_satopic.cpp @@ -51,7 +51,7 @@ public: const std::string newTopic(parameters[1], 0, ServerInstance->Config->Limits.MaxTopic); if (target->topic == newTopic) { - user->WriteNotice(InspIRCd::Format("The topic on %s is already what you are trying to change it to.", target->name.c_str())); + user->WriteNotice(INSP_FORMAT("The topic on {} is already what you are trying to change it to.", target->name)); return CmdResult::SUCCESS; } |
