1
0
mirror of https://github.com/anope/anope.git synced 2026-07-09 21:23:12 +02:00

Added a separate field for last seen realhost to ns_info, shown to services admins only

This commit is contained in:
DukePyrolator
2011-08-11 22:21:40 +02:00
parent 4e1f54ff9c
commit c2780e1de4
8 changed files with 21 additions and 2 deletions
+5
View File
@@ -73,11 +73,16 @@ class CommandNSInfo : public Command
source.Reply(_(" Is online from: %s"), na->last_usermask.c_str());
else
source.Reply(_("%s is currently online."), na->nick.c_str());
if (has_auspex && !na->last_realhost.empty())
source.Reply(_(" Is online from: %s"), na->last_realhost.c_str());
}
else
{
if (show_hidden || !na->nc->HasFlag(NI_HIDE_MASK))
source.Reply(_("Last seen address: %s"), na->last_usermask.c_str());
if (has_auspex && !na->last_realhost.empty())
source.Reply(_("Last seen address: %s"), na->last_realhost.c_str());
}
source.Reply(_(" Time registered: %s"), do_strftime(na->time_registered).c_str());