summaryrefslogtreecommitdiffstats
path: root/bin/ircsink
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2023-07-18 10:36:01 +0200
committertv <tv@krebsco.de>2023-07-18 10:36:01 +0200
commitd4c2a4425bedfa6a100ae9645598e33d5433592a (patch)
treec4683dcd75749edc975018dfec497bd5207ea612 /bin/ircsink
parent12f8412e1edcac58198d9af9fd02fcb8c29b39c9 (diff)
irksink: make : in CAP REQ response optional
Diffstat (limited to 'bin/ircsink')
-rwxr-xr-xbin/ircsink2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ircsink b/bin/ircsink
index 23e3dab..bb27949 100755
--- a/bin/ircsink
+++ b/bin/ircsink
@@ -212,7 +212,7 @@ main() {(
case $sasl_mech in
plain)
echo2 "CAP REQ :sasl"
- sed -nru '/^:[^ ]* CAP [0-9A-Za-z]+ ACK :sasl/q'
+ sed -nru '/^:[^ ]* CAP [0-9A-Za-z]+ ACK :?sasl/q'
echo2 "AUTHENTICATE PLAIN"
sed -nru '/AUTHENTICATE +/q'