summaryrefslogtreecommitdiff
path: root/modules/commands/os_svs.cpp
diff options
context:
space:
mode:
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);
}