summaryrefslogtreecommitdiff
path: root/bin/ii-answer
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ii-answer')
-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