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:12:02 +0100
committerErich Eckner <git@eckner.net>2019-01-10 14:12:02 +0100
commit1b8aea42314197d4258e8dd218b2eb5af9a7dfc9 (patch)
tree08316f79f010882a17383235d03001c8734c6420 /bin/ii-answer
parentc83676e8af52dc50156db67f027361fab5255a39 (diff)
bin/ii-answer: extrackt nick from sloppy_salutation
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 4d11c46..7db226f 100755
--- a/bin/ii-answer
+++ b/bin/ii-answer
@@ -35,7 +35,7 @@ find "${irc_dir}" \
channel="${channel##*/}"
if [ -z "${channel%%#*}" ]; then
prefix='buildmaster: '
- sloppy_salutation='\S\+\s\+\S\+\s.*buildmaster'
+ sloppy_salutation='^\S\+\s\+<\(\S\+\)>\s.*buildmaster'
else
prefix=''
sloppy_salutation=''