aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_satopic.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2024-08-18 16:04:36 +0100
committerGravatar Sadie Powell2024-08-18 16:19:12 +0100
commitd95be0a5165cf3cee3d1feedab1bdbdf21e5e419 (patch)
tree20cdde19d3319c1423e63e37e5b26da6d5dad61b /src/modules/m_satopic.cpp
parentDocument Write* members in the User type correctly. (diff)
Add a formatting overload to {Membership,User}::Write(Remote)Notice.
Diffstat (limited to 'src/modules/m_satopic.cpp')
-rw-r--r--src/modules/m_satopic.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_satopic.cpp b/src/modules/m_satopic.cpp
index 7f019e831..1046d0157 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(INSP_FORMAT("The topic on {} is already what you are trying to change it to.", target->name));
+ user->WriteNotice("The topic on {} is already what ou are trying to change it to.", target->name);
return CmdResult::SUCCESS;
}