AmendHub

Download:

jcs

/

wallops

/

amendments

/

26

irc: Support some more numerics seen in WHOIS output


jcs made amendment 26 over 2 years ago
--- irc.c Thu Feb 10 10:43:44 2022 +++ irc.c Thu Feb 10 10:57:31 2022 @@ -617,6 +617,10 @@ irc_process_server(struct chatter *chatter) chatter_printf(chatter, "$B*** |$0 Connection:$/ %s", msg.msg); return; case 317: + /* WHOIS idle */ + chatter_printf(chatter, "$B*** |$0 Idle:$/ %s %s", msg.arg[2], + msg.msg); + return; case 318: /* WHOIS end */ chatter_printf(chatter, "$B*** `-------$0"); @@ -631,6 +635,7 @@ irc_process_server(struct chatter *chatter) msg.arg[2]); return; case 338: + case 378: /* WHOIS host */ chatter_printf(chatter, "$B*** |$0 Host:$/ %s %s", msg.msg, msg.arg[2]);