don't display random meme with #tag - annna - Annna the nice friendly bot. | |
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
--- | |
commit 0b6e836b6fd7f435931ecc0e42db02cf10282063 | |
parent 867e6da80a6ad1871aa395ac47acf81dbdb152f3 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Tue, 23 Feb 2021 16:33:23 +0100 | |
don't display random meme with #tag | |
the string "annna, please meme meme meme me." is often used, "#tag" | |
is not and collides with POSIX make urls. | |
Signed-off-by: Annna Robert-Houdin <[email protected]> | |
Diffstat: | |
M annna-start-services | 6 ------ | |
1 file changed, 0 insertions(+), 6 deletions(-) | |
--- | |
diff --git a/annna-start-services b/annna-start-services | |
@@ -694,12 +694,6 @@ annna_common() { | |
case "${text}" in | |
*\#nospoil*) | |
;; | |
- *\#tag[^a-zA-Z-]*) | |
- randomtag=1 | |
- ;; | |
- *\#tag) | |
- randomtag=1 | |
- ;; | |
*rfc[0-9]*) | |
rfcname="$(printf "%s\n" "${text}" | sed 's,.*\(rfc[0-9]*\).*,… | |
annna-say -c "${channel}" "${rfcname}: ftp://ftp.rfc-editor.or… |