diff options
Diffstat (limited to 'modules/commands/os_sxline.cpp')
| -rw-r--r-- | modules/commands/os_sxline.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/modules/commands/os_sxline.cpp b/modules/commands/os_sxline.cpp index 512f48606..bdd481f33 100644 --- a/modules/commands/os_sxline.cpp +++ b/modules/commands/os_sxline.cpp @@ -25,11 +25,11 @@ class SXLineDelCallback : public NumberList ~SXLineDelCallback() { if (!deleted) - source.Reply(_("No matching entries on the %s list."), this->command->name.c_str()); + source.Reply(_("No matching entries on the %s list."), source.command.c_str()); else if (deleted == 1) - source.Reply(_("Deleted 1 entry from the %s list."), this->command->name.c_str()); + source.Reply(_("Deleted 1 entry from the %s list."), source.command.c_str()); else - source.Reply(_("Deleted %d entries from the %s list."), deleted, this->command->name.c_str()); + source.Reply(_("Deleted %d entries from the %s list."), deleted, source.command.c_str()); } void HandleNumber(unsigned number) anope_override @@ -42,6 +42,8 @@ class SXLineDelCallback : public NumberList if (!x) return; + Log(LOG_ADMIN, source, command) << "to remove " << x->mask << " from the list"; + ++deleted; DoDel(this->xlm, source, x); } |
