summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-05-10 14:08:08 +0200
committerErich Eckner <git@eckner.net>2019-05-10 14:08:08 +0200
commit6abaf76c3ef8f6678dafe0040c3102b911000490 (patch)
treed14e3f1b96cf83590c7422cb0e554bcd5de4f2a1 /bin
parentb443fd840e03f4ced8ae2aa71e8b7d8142dcb667 (diff)
downloadbuilder-6abaf76c3ef8f6678dafe0040c3102b911000490.tar.xz
bin/ii-answer: "!rq buildmaster", too
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ii-answer3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/ii-answer b/bin/ii-answer
index 3fb9926..20f7b04 100755
--- a/bin/ii-answer
+++ b/bin/ii-answer
@@ -8,7 +8,7 @@
. "${0%/*}/../lib/load-configuration"
# welcome devs (in #archlinux32 only)
-welcome_user_regex='^\S\+ -!- \(abaumann\|deep42thought\|girls\|tyzoid\|phrik\)(.* has joined \S\+$'
+welcome_user_regex='^\S\+ -!- \(abaumann\|buildmaster\|deep42thought\|girls\|tyzoid\|phrik\)(.* has joined \S\+$'
new_users=$(
sed -i '
s/'"${welcome_user_regex}"'/\1/
@@ -22,6 +22,7 @@ if [ -n "${new_users}" ]; then
printf '%s\n' "${new_users}" | \
sed '
s/^.*$/Hi \0!\n!rq \0/
+ s/Hi buildmaster!\n//
' | \
irc_say '' 'copy'
fi