diff options
| author | Sadie Powell <sadie@witchery.services> | 2024-01-08 13:06:23 +0000 |
|---|---|---|
| committer | Sadie Powell <sadie@witchery.services> | 2024-01-08 13:11:50 +0000 |
| commit | f083795c79fc062951d0253b4babf7e3b48c6ccb (patch) | |
| tree | d40d77a317f31e7d8acb6db3df85dbd3e3efbda9 /modules/commands/ns_group.cpp | |
| parent | 5db79c1e242d4c06d1aeb2b09f99b8254b7fb5de (diff) | |
Fix various format string issues.
Diffstat (limited to 'modules/commands/ns_group.cpp')
| -rw-r--r-- | modules/commands/ns_group.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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 |
