From b51b623725ce394a1f9f12686f043c1cc3bba7c9 Mon Sep 17 00:00:00 2001 From: Ori Bernstein Date: Sun, 5 Nov 2023 20:46:40 +0000 Subject: [PATCH] ircrc: fix pong message (thanks mkf) when connecting to ngircd, we can get disconnected with a 'Spoofed prefix' message; this fixes the problem. --- rc/bin/ircrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rc/bin/ircrc b/rc/bin/ircrc index f7f829e46..8ee1884fb 100755 --- a/rc/bin/ircrc +++ b/rc/bin/ircrc @@ -173,8 +173,8 @@ fn pretty { line = `{echo -n $line | misc} case *NOTICE* line = `{echo -n $line | notice} - case *PING* - echo -n $line | sed 's/PING/PONG/' > $netdir/data + case PING* # *PING* could also be CASEMAPPING + echo PONG $line(2) > $netdir/data line = () case * line = `{echo -n $line | numeric}