Fix karma to not allow whitspace or comma. - 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 b0a108dce24f5101b56fab7490d99d3037c70781
(DIR) parent 272e4f5b72c8a03b759ec0cf0496d42394c3d705
(HTM) Author: Annna Robert-Houdin <annna@bitreich.org>
Date: Fri, 6 May 2022 21:26:56 +0200
Fix karma to not allow whitspace or comma.
Diffstat:
M karma | 4 ++++
1 file changed, 4 insertions(+), 0 deletions(-)
---
(DIR) diff --git a/karma b/karma
@@ -39,6 +39,10 @@ function deckarma {
karmastr="$1"
case "${karmastr}" in
+*" "*)
+ ;;
+*","*)
+ ;;
*++)
inckarma "${karmastr}"
;;