From 058ef3084679f5e0c58df0a3daca82efc4f86afa Mon Sep 17 00:00:00 2001 From: tv Date: Tue, 18 Jul 2023 10:37:14 +0200 Subject: ircsink: wait more strictly for `AUTHENTICATE +` --- bin/ircsink | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/ircsink') diff --git a/bin/ircsink b/bin/ircsink index bb27949..dcbe294 100755 --- a/bin/ircsink +++ b/bin/ircsink @@ -215,7 +215,7 @@ main() {( sed -nru '/^:[^ ]* CAP [0-9A-Za-z]+ ACK :?sasl/q' echo2 "AUTHENTICATE PLAIN" - sed -nru '/AUTHENTICATE +/q' + sed -nru '/^AUTHENTICATE \+\r$/q' echo sasl user: $sasl_user >&2 message=$(printf '\0%s\0%s' "$sasl_user" "$sasl_pass" | base64 -w0) -- cgit v1.2.3