Adjust parsing of RPL_WHOISSPECIAL to handle missing : for single-word whois messages
This is to support parsing the RPL_WHOISSPECIAL from unrealircd correctly if the whois message is a single word.
This commit is contained in:
parent
9039a5d75b
commit
f42f6af1b9
@ -627,7 +627,7 @@ process_numeric (session * sess, int n,
|
|||||||
case 320: /* :is an identified user */
|
case 320: /* :is an identified user */
|
||||||
if (!serv->skip_next_whois)
|
if (!serv->skip_next_whois)
|
||||||
EMIT_SIGNAL_TIMESTAMP (XP_TE_WHOIS_ID, whois_sess, word[4],
|
EMIT_SIGNAL_TIMESTAMP (XP_TE_WHOIS_ID, whois_sess, word[4],
|
||||||
word_eol[5] + 1, NULL, NULL, 0,
|
word_eol[5][0] == ':' ? word_eol[5] + 1 : word_eol[5], NULL, NULL, 0,
|
||||||
tags_data->timestamp);
|
tags_data->timestamp);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user