summaryrefslogtreecommitdiff
path: root/modules/commands/os_svs.cpp
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-01-08 13:06:23 +0000
committerSadie Powell <sadie@witchery.services>2024-01-08 13:11:50 +0000
commitf083795c79fc062951d0253b4babf7e3b48c6ccb (patch)
treed40d77a317f31e7d8acb6db3df85dbd3e3efbda9 /modules/commands/os_svs.cpp
parent5db79c1e242d4c06d1aeb2b09f99b8254b7fb5de (diff)
Fix various format string issues.
Diffstat (limited to 'modules/commands/os_svs.cpp')
-rw-r--r--modules/commands/os_svs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/os_svs.cpp b/modules/commands/os_svs.cpp
index b8586be9c..e9ef64bf9 100644
--- a/modules/commands/os_svs.cpp
+++ b/modules/commands/os_svs.cpp
@@ -36,7 +36,7 @@ public:
unsigned nicklen = Config->GetBlock("networkinfo")->Get<unsigned>("nicklen");
if (newnick.length() > nicklen)
{
- source.Reply(_("Nick \002%s\002 was truncated to %d characters."), newnick.c_str(), nicklen, newnick.c_str());
+ source.Reply(_("Nick \002%s\002 was truncated to %u characters."), newnick.c_str(), nicklen);
newnick = params[1].substr(0, nicklen);
}