mirror of
https://github.com/irssi/irssi.git
synced 2024-09-08 04:26:01 -04:00
Fix RPL_WHOISHOST (378) code and strip off the "*@" from the hostname.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4635 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
ffb294ae3f
commit
c4d88a3b72
@ -139,7 +139,9 @@ static void event_whois_realhost(IRC_SERVER_REC *server, const char *data)
|
||||
if (hostname != NULL) hostname += 5;
|
||||
}
|
||||
|
||||
if (hostname == NULL) {
|
||||
if (hostname != NULL) {
|
||||
if (!strncmp(hostname, "*@", 2))
|
||||
hostname += 2;
|
||||
printformat(server, nick, MSGLEVEL_CRAP,
|
||||
IRCTXT_WHOIS_REALHOST, nick, hostname, "");
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user