summaryrefslogtreecommitdiff
path: root/modules/m_whois.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/m_whois.c')
-rw-r--r--modules/m_whois.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/m_whois.c b/modules/m_whois.c
index 601c148..8b637e8 100644
--- a/modules/m_whois.c
+++ b/modules/m_whois.c
@@ -382,7 +382,7 @@ whois_person(struct Client *source_p, struct Client *target_p)
#endif
sendto_one(source_p, form_str(RPL_WHOISIDLE),
me.name, source_p->name, target_p->name,
- CurrentTime - target_p->localClient->last_privmsg,
+ idle_time_get(source_p, target_p),
target_p->localClient->firsttime);
if (HasUMode(target_p, UMODE_OPER) && target_p != source_p)