Fix karma handling to the end. - annna - Annna the nice friendly bot. HTML git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/annna/ DIR Log DIR Files DIR Refs DIR Tags DIR README --- DIR commit ce146b18804ee325eb12a222e47769ee786f14a9 DIR parent a21f4f5741310f873d70c8238a347284777829af HTML Author: Annna Robert-Houdin <annna@bitreich.org> 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(-) --- DIR 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 +