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:
authorErich Eckner <git@eckner.net>2019-01-10 14:19:39 +0100
committerErich Eckner <git@eckner.net>2019-01-10 14:19:39 +0100
commit18e9ac261efcc127811baad009738d38c8493785 (patch)
treea3081bb70ff5127150ee2c7f061a188b6a66eddc /bin/ii-answer
parent3303936fbeeae33e3e29cf93f91e306aa6974393 (diff)
bin/ii-answer: if we extract the asker via sloppy_salutation, we need to set it at least to the bare minimum in pm, too
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 886a548..ced8867 100755
--- a/bin/ii-answer
+++ b/bin/ii-answer
@@ -38,7 +38,7 @@ find "${irc_dir}" \
sloppy_salutation='^\S\+\s\+<\(\S\+\)>\s.*buildmaster'
else
prefix=''
- sloppy_salutation=''
+ sloppy_salutation='^\S\+\s\+<\(\S\+\)>\s'
fi
# answer "why don't you?"
regex='^\S\+ <\(\S\+\)> '"${prefix}"'!\?why[- ]don'"'"'\?t[- ]you \(build\|stabilize\|unstage\|keep\|stubbornly_keep\) '