From cb542c4b62f6d37259e8597e95e29683093fc974 Mon Sep 17 00:00:00 2001 From: Aelius <4342746+AeliusSaionji@users.noreply.github.com> Date: Mon, 16 Jan 2023 16:25:52 +0000 Subject: [PATCH] modern ircdocs tweak I'm in the process of requesting that modern-ircdocs be revised to avoid this situation, but in the event that this doesn't go through, here's the bare minimum of what fussy clients will expect --- lib/irslackd.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/irslackd.js b/lib/irslackd.js index 431d43a..2694bf0 100644 --- a/lib/irslackd.js +++ b/lib/irslackd.js @@ -506,6 +506,12 @@ class Irslackd { async onSlackReady(ircUser, event) { // Send MOTD this.ircd.write(ircUser.socket, 'irslackd', '001', [ ircUser.ircNick, 'irslackd' ]); + // Send RPL_ISUPPORT + this.ircd.write(ircUser.socket, 'irslackd', '005', [ + ircUser.ircNick, + 'CHANTYPES=#', + ':are supported by this server' + ]); this.ircd.write(ircUser.socket, 'irslackd', '376', [ ircUser.ircNick, 'End of MOTD' ]); // set user presence to auto instead of away