summaryrefslogtreecommitdiff
path: root/modules/chanserv/cs_akick.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/chanserv/cs_akick.cpp')
-rw-r--r--modules/chanserv/cs_akick.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/modules/chanserv/cs_akick.cpp b/modules/chanserv/cs_akick.cpp
index ad58a814b..5453aa5d2 100644
--- a/modules/chanserv/cs_akick.cpp
+++ b/modules/chanserv/cs_akick.cpp
@@ -219,12 +219,10 @@ class CommandCSAKick final
~AkickDelCallback() override
{
- if (!deleted)
- source.Reply(_("No matching entries on %s autokick list."), ci->name.c_str());
- else if (deleted == 1)
- source.Reply(_("Deleted 1 entry from %s autokick list."), ci->name.c_str());
+ if (deleted)
+ source.Reply(deleted, N_("Deleted %d entry from %s autokick list.", "Deleted %d entries from %s autokick list."), deleted, ci->name.c_str());
else
- source.Reply(_("Deleted %d entries from %s autokick list."), deleted, ci->name.c_str());
+ source.Reply(_("No matching entries on %s autokick list."), ci->name.c_str());
}
void HandleNumber(unsigned number) override