1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-05 09:33:13 +02:00

- /WHOIS now shows the ident of local users - if ident enabled and they had an ident -

instead of always "*" in the 'is connecting from' line. Suggested and patch provided
  by djGrrr (#0002888).
This commit is contained in:
Bram Matthys
2007-01-22 12:36:51 +00:00
parent 30bab73c03
commit d1827e1835
3 changed files with 6 additions and 2 deletions
+2 -1
View File
@@ -195,7 +195,8 @@ DLLFUNC int m_whois(aClient *cptr, aClient *sptr, int parc, char *parv[])
{
sendto_one(sptr, rpl_str(RPL_WHOISHOST),
me.name, parv[0], acptr->name,
user->realhost, user->ip_str ? user->ip_str : "");
(MyConnect(acptr) && strcmp(acptr->username, "unknown")) ? acptr->username : "*",
user->realhost, user->ip_str ? user->ip_str : "");
}
if (IsARegNick(acptr))