From 1b8aea42314197d4258e8dd218b2eb5af9a7dfc9 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 10 Jan 2019 14:12:02 +0100 Subject: bin/ii-answer: extrackt nick from sloppy_salutation --- bin/ii-answer | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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='' -- cgit v1.2.3-70-g09d2