diff options
Diffstat (limited to 'modules/botserv')
| -rw-r--r-- | modules/botserv/bs_botlist.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/botserv/bs_botlist.cpp b/modules/botserv/bs_botlist.cpp index 976a54f5c..8ad7dd9c9 100644 --- a/modules/botserv/bs_botlist.cpp +++ b/modules/botserv/bs_botlist.cpp @@ -25,7 +25,7 @@ public: unsigned count = 0; ListFormatter list(source.GetAccount()); - list.AddColumn(_("Nick")).AddColumn(_("Mask")); + list.AddColumn(_("Nick")).AddColumn(_("Mask")).AddColumn(_("Real name")); for (const auto &[_, bi] : *BotListByNick) { @@ -35,6 +35,7 @@ public: ListFormatter::ListEntry entry; entry["Nick"] = (bi->oper_only ? "* " : "") + bi->nick; entry["Mask"] = bi->GetIdent() + "@" + bi->host; + entry["Real name"] = bi->realname; list.AddEntry(entry); } } |
