diff options
author | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2013-10-23 14:05:43 +0000 |
---|---|---|
committer | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2013-10-23 14:05:43 +0000 |
commit | a7281b9213088e5ed4c0748c16eed13f3bf3f222 (patch) | |
tree | 3d2136168461a5a7cdcbe3bca30a4c26f4f5d1b7 /modules | |
parent | 4e52eb64c71d6e6a25e4033eb87e4659f0107291 (diff) |
- Stole ircu's RPL_WHOISACCOUNT numeric
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2479 82007160-df01-0410-b94d-b575c5fd34c7
Diffstat (limited to 'modules')
-rw-r--r-- | modules/m_whois.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/m_whois.c b/modules/m_whois.c index ec4b555..8609d82 100644 --- a/modules/m_whois.c +++ b/modules/m_whois.c @@ -107,6 +107,11 @@ whois_person(struct Client *source_p, struct Client *target_p) sendto_one(source_p, form_str(RPL_WHOISREGNICK), me.name, source_p->name, target_p->name); + if (!IsDigit(target_p->svid[0])) + sendto_one(source_p, form_str(RPL_WHOISACCOUNT), + me.name, source_p->name, target_p->name, + target_p->svid); + if (target_p->away[0]) sendto_one(source_p, form_str(RPL_AWAY), me.name, source_p->name, target_p->name, |