1
0
mirror of https://github.com/anope/anope.git synced 2026-06-28 06:36:38 +02:00

Fix a minor layout issue in cs_log.

This commit is contained in:
Sadie Powell
2025-09-19 15:56:44 +01:00
parent df551bee03
commit ac2b38b1b6
+3 -4
View File
@@ -138,7 +138,7 @@ public:
else
{
ListFormatter list(source.GetAccount());
list.AddColumn(_("Number")).AddColumn(_("Service")).AddColumn(_("Command")).AddColumn(_("Method")).AddColumn("");
list.AddColumn(_("Number")).AddColumn(_("Service")).AddColumn(_("Command")).AddColumn(_("Method"));
for (unsigned i = 0; i < (*ls)->size(); ++i)
{
@@ -147,9 +147,8 @@ public:
ListFormatter::ListEntry entry;
entry["Number"] = Anope::ToString(i + 1);
entry["Service"] = log->command_service;
entry["Command"] = !log->command_name.empty() ? log->command_name : log->service_name;
entry["Method"] = log->method;
entry[""] = log->extra;
entry["Command"] = !log->command_name.empty() ? log->command_name.upper() : log->service_name;
entry["Method"] = log->method + (log->extra.empty() ? "" : " ") + log->extra;
list.AddEntry(entry);
}