summaryrefslogtreecommitdiff
path: root/bin/ii-answer
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-09-26 18:39:34 +0200
committerErich Eckner <git@eckner.net>2018-09-26 18:39:34 +0200
commit682b7803b7ec90efcfd3ba24fc4c602b7b014118 (patch)
tree88522efa89a505d1624e7a21819f4bec7edf1889 /bin/ii-answer
parentb177baf5468524ce9d36ca8be605e320e685596a (diff)
downloadbuilder-682b7803b7ec90efcfd3ba24fc4c602b7b014118.tar.xz
bin/ii-answer: call "!rq", too
Diffstat (limited to 'bin/ii-answer')
-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