summaryrefslogtreecommitdiff
path: root/modules/commands
diff options
context:
space:
mode:
Diffstat (limited to 'modules/commands')
-rw-r--r--modules/commands/ns_info.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/commands/ns_info.cpp b/modules/commands/ns_info.cpp
index 8fc5aa639..1800ac440 100644
--- a/modules/commands/ns_info.cpp
+++ b/modules/commands/ns_info.cpp
@@ -42,7 +42,10 @@ class CommandNSInfo : public Command
/* Is the real owner of the nick we're looking up online? -TheShadow */
User *u2 = User::Find(na->nick);
if (u2 && u2->Account() == na->nc)
+ {
nick_online = true;
+ na->last_seen = Anope::CurTime;
+ }
if (has_auspex || na->nc == source.GetAccount())
show_hidden = true;