diff options
author | Erich Eckner <git@eckner.net> | 2018-06-04 10:09:24 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-06-04 10:09:24 +0200 |
commit | 9cc3e650e64bba50868b7ae53623c463998150c7 (patch) | |
tree | 7705e2fd3715891ac076f6cbc72a773bc1c7ed38 /bin | |
parent | 7b1488a0d223ba77248fafd124d46b7f708881fc (diff) | |
download | builder-9cc3e650e64bba50868b7ae53623c463998150c7.tar.xz |
bin/ii-answer: first tell irc that we comply and then shut up.
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/ii-answer | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ii-answer b/bin/ii-answer index df7d774..ec234f1 100755 --- a/bin/ii-answer +++ b/bin/ii-answer @@ -121,11 +121,11 @@ find "${irc_dir}" \ if grep "${regex}" "${out_file}" | \ grep -q "${sloppy_salutation}"; then sed -i "/${regex}/d" "${out_file}" + printf 'Sorry, I will do.\n' | \ + irc_say "${channel}" 'copy' printf '%s\n' "$(( $(date '+%s') + 3600 ))" > "${work_dir}/irc-shut-up" - printf 'Sorry, I will do.\n' | \ - irc_say "${channel}" 'copy' fi fi done |