Do not show tags, if they are separated by a dash. - annna - Annna the nice friendly bot.
(HTM) git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/annna/
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Tags
(DIR) README
---
(DIR) commit 2aa559f746528f9755404c38df904753ccdf1d83
(DIR) parent b33c9f948286be87376aff5e31c5db1c2d224345
(HTM) Author: Annna Robert-Houdin <annna@bitreich.org>
Date: Wed, 17 Apr 2019 20:25:01 +0200
Do not show tags, if they are separated by a dash.
Diffstat:
M annna-start-services | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
(DIR) diff --git a/annna-start-services b/annna-start-services
@@ -336,7 +336,7 @@ then
case "${text}" in
*\#nospoil*)
;;
- *\#tag[^a-zA-Z]*)
+ *\#tag[^a-zA-Z-]*)
randomtag=1
;;
*\#tag)
@@ -368,7 +368,7 @@ then
*\#nospoil*)
break;
;;
- *${tagname}[^a-zA-Z]*)
+ *${tagname}[^a-zA-Z-]*)
annna-say -c "#bitreich-en" "${tagname}: ${taguri}"
break;
;;