Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/ii-answer
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ii-answer')
-rwxr-xr-xbin/ii-answer2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ii-answer b/bin/ii-answer
index 0a3468d..8bbdbb1 100755
--- a/bin/ii-answer
+++ b/bin/ii-answer
@@ -114,7 +114,7 @@ find "${irc_dir}" \
if grep "${regex}" "${out_file}" | \
grep -q "${sloppy_salutation}"; then
sed -i '
- s/'"${regex}"'/np, \1/
+ /'"${sloppy_salutation}"'/ s/'"${regex}"'/np, \1/
T
w /dev/stdout
d