diff options
Diffstat (limited to 'modules/commands/ns_info.cpp')
-rw-r--r-- | modules/commands/ns_info.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/commands/ns_info.cpp b/modules/commands/ns_info.cpp index 5a6d9dc0c..15dc22546 100644 --- a/modules/commands/ns_info.cpp +++ b/modules/commands/ns_info.cpp @@ -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()); |