summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/ii-answer3
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/ii-answer b/bin/ii-answer
index 0fa032c..258746b 100755
--- a/bin/ii-answer
+++ b/bin/ii-answer
@@ -21,8 +21,7 @@ new_users=$(
if [ -n "${new_users}" ]; then
printf '%s\n' "${new_users}" | \
sed '
- s/^/Hi /
- s/$/!/
+ s/^.*$\n/Hi \0!\n!rq \0/
' | \
irc_say '' 'copy'
fi