summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/ircsink2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ircsink b/bin/ircsink
index b0d7c16..55e0d3d 100755
--- a/bin/ircsink
+++ b/bin/ircsink
@@ -218,7 +218,7 @@ main() {(
sed -nru '/^:[^ ]* AUTHENTICATE +/q'
echo sasl user: $sasl_user >&2
- message=$(printf '\0%s\0%s' "$sasl_user" "$sasl_pass" | base64)
+ message=$(printf '\0%s\0%s' "$sasl_user" "$sasl_pass" | base64 -w0)
echo "AUTHENTICATE $message"
echo "AUTHENTICATE ***REDACTED***" >&2
;;