Add case against news and channel flood in phlog index. - annna - Annna the nic… | |
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
--- | |
commit bcfbc72a3484109d65e8813d3fafa381dd3872c7 | |
parent 7d52d331bf02f2b674bb6a697c71c68987826e34 | |
Author: Annna Robert-Houdin <[email protected]> | |
Date: Wed, 13 May 2020 19:49:44 +0200 | |
Add case against news and channel flood in phlog index. | |
Diffstat: | |
M phlog-index | 14 ++++++++++---- | |
1 file changed, 10 insertions(+), 4 deletions(-) | |
--- | |
diff --git a/phlog-index b/phlog-index | |
@@ -103,10 +103,16 @@ then | |
[ -z "$title" ] && continue | |
gphpth="$(printf "$gopherbase" "$user" "$fname")" | |
- annna-say -c "$ircchans" \ | |
- "$(printf "%s – »%s« by %s gopher://bitreich.org/0… | |
- "$tstamp" "$title" "$user" "$gphpth")" | |
- # Case against excess flood. | |
+ | |
+ for chan in $ircchans; | |
+ do | |
+ annna-say -c "$chan" \ | |
+ "$(printf "%s – »%s« by %s gopher://bitrei… | |
+ "$tstamp" "$title" "$user" "$gphpth")" | |
+ # Case against channel flood. | |
+ sleep 1 | |
+ done | |
+ # Case against news flood. | |
sleep 2 | |
done | |
fi |