jcs
/wallops
/amendments
/94
irc: How can we be Wallops without supporting WALLOPS
jcs made amendment 94 2 months ago
--- irc.c Thu Sep 12 08:34:05 2024
+++ irc.c Thu Sep 12 09:11:09 2024
@@ -747,6 +747,12 @@ irc_process_server(struct irc_connection *conn)
strlcpy(channel->topic, msg.msg, sizeof(channel->topic));
return true;
}
+ if (strcmp(msg.cmd, "WALLOPS") == 0) {
+ chatter_printf(conn->chatter, conn, NULL,
+ "$B***$0 Wallops from $B%s$0:$/ %s",
+ msg.source, msg.msg);
+ return true;
+ }
goto unknown;
}