summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2023-07-18 10:37:14 +0200
committertv <tv@krebsco.de>2023-07-18 10:37:14 +0200
commit058ef3084679f5e0c58df0a3daca82efc4f86afa (patch)
tree8098376c77a645255f52333c4580dc79001b556c /bin
parentd4c2a4425bedfa6a100ae9645598e33d5433592a (diff)
ircsink: wait more strictly for `AUTHENTICATE +`
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ircsink2
1 files changed, 1 insertions, 1 deletions
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)