From f083795c79fc062951d0253b4babf7e3b48c6ccb Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Mon, 8 Jan 2024 13:06:23 +0000 Subject: Fix various format string issues. --- modules/commands/ns_group.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/commands/ns_group.cpp') diff --git a/modules/commands/ns_group.cpp b/modules/commands/ns_group.cpp index fd735d506..6f45d7f49 100644 --- a/modules/commands/ns_group.cpp +++ b/modules/commands/ns_group.cpp @@ -146,7 +146,7 @@ public: if (!(target = NickAlias::Find(nick))) source.Reply(NICK_X_NOT_REGISTERED, nick.c_str()); else if (user && Anope::CurTime < user->lastnickreg + reg_delay) - source.Reply(_("Please wait %d seconds before using the GROUP command again."), (reg_delay + user->lastnickreg) - Anope::CurTime); + source.Reply(_("Please wait %lu seconds before using the GROUP command again."), (unsigned long)(reg_delay + user->lastnickreg) - Anope::CurTime); else if (target->nc->HasExt("NS_SUSPENDED")) { Log(LOG_COMMAND, source, this) << "and tried to group to SUSPENDED nick " << target->nick; @@ -352,7 +352,7 @@ public: for (const auto &reply : replies) source.Reply(reply); - source.Reply(_("%d nickname(s) in the group."), nc->aliases->size()); + source.Reply(_("%zu nickname(s) in the group."), nc->aliases->size()); } bool OnHelp(CommandSource &source, const Anope::string &subcommand) override -- cgit