AmendHub

Download:

jcs

/

wallops

/

amendments

/

128

irc: Fix formatting of unknown CTCP messages


jcs made amendment 128 2 months ago
--- irc.c Fri Sep 20 21:08:45 2024 +++ irc.c Sun Sep 22 14:05:47 2024 @@ -549,7 +549,7 @@ irc_process_server(struct irc_connection *conn) "$B*** %s ($0%s@%s$B)$0 requested unknown CTCP " "$B%s$0 from $B%s$0", user->nick, user->username, user->hostname, - msg.arg[0], msg.msg); + msg.msg + 1, msg.arg[0]); } } else if (strcmp(msg.arg[0], conn->nick) == 0) { /* message to us */