1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-05 14:33:12 +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).
  NOTE: This needs checking, this patch changed the 'unknown' stuff to ~.. doublecheck
  the allow block and everything.. didn't we use unknown@ there sometimes? I'll leave this
  to someone else...
This commit is contained in:
Bram Matthys
2007-01-22 12:37:10 +00:00
parent 443149f01a
commit 5faee2f717
4 changed files with 9 additions and 2 deletions
+6
View File
@@ -1514,3 +1514,9 @@
- Italic fix in serverprotocol
- Fixed bug where SVSO was unable to give various operflags such as q, d, X, reported
by prodigy2k7 (#0003203).
- /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).
NOTE: This needs checking, this patch changed the 'unknown' stuff to ~.. doublecheck
the allow block and everything.. didn't we use unknown@ there sometimes? I'll leave this
to someone else...
+1 -1
View File
@@ -133,7 +133,7 @@ aClient *make_client(aClient *from, aClient *servr)
cptr->srvptr = servr;
cptr->status = STAT_UNKNOWN;
(void)strcpy(cptr->username, "unknown");
(void)strcpy(cptr->username, "~");
if (size == CLIENT_LOCAL_SIZE)
{
cptr->since = cptr->lasttime =
+1
View File
@@ -195,6 +195,7 @@ 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,
(MyConnect(acptr) && *acptr->username != '~') ? acptr->username : "*",
user->realhost, user->ip_str ? user->ip_str : "");
}
+1 -1
View File
@@ -415,7 +415,7 @@ static char *replies[] = {
/* 375 RPL_MOTDSTART */ ":%s 375 %s :- %s Message of the Day - ",
/* 376 RPL_ENDOFMOTD */ ":%s 376 %s :End of /MOTD command.",
/* 377 */ NULL, /* aircd, austhex */
/* 378 RPL_WHOISHOST */ ":%s 378 %s %s :is connecting from *@%s %s",
/* 378 RPL_WHOISHOST */ ":%s 378 %s %s :is connecting from %s@%s %s",
/* 379 RPL_WHOISMODES */ ":%s 379 %s %s :is using modes %s %s",
/* 380 */ NULL, /* aircd, austhex */
/* 381 RPL_YOUREOPER */ ":%s 381 %s :You are now an IRC Operator",