Fix karma handling to the end. - annna - Annna the nice friendly bot. | |
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
--- | |
commit ce146b18804ee325eb12a222e47769ee786f14a9 | |
parent a21f4f5741310f873d70c8238a347284777829af | |
Author: Annna Robert-Houdin <[email protected]> | |
Date: Sun, 6 Feb 2022 20:56:57 +0100 | |
Fix karma handling to the end. | |
Diffstat: | |
M annna-message-common | 10 +++++++--- | |
1 file changed, 7 insertions(+), 3 deletions(-) | |
--- | |
diff --git a/annna-message-common b/annna-message-common | |
@@ -198,9 +198,6 @@ esac | |
case "${text}" in | |
-*++|*--) | |
- karma "${text}" | |
- ;; | |
*" ope sorry"*|"ope sorry"*) | |
annna-say -s "${server}" -c "${channel}" "${user}, 😃pe sorry." | |
;; | |
@@ -1039,3 +1036,10 @@ case "${text}" in | |
;; | |
esac | |
+# Always keep the karma last! | |
+case "${text}" in | |
+*++|*--) | |
+ karma "${text}" | |
+ ;; | |
+esac | |
+ |