Introduction
Introduction Statistics Contact Development Disclaimer Help
annna-message-common: fix user addressing with cached meme filters - annna - An…
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6…
Log
Files
Refs
Tags
README
---
commit 9b65348f7c442d7dc1b4b486ccc200f65c60fc0f
parent 18114d7262d99ee25320b870d1b77f9dd5cc5153
Author: Anders Damsgaard <[email protected]>
Date: Wed, 22 Feb 2023 20:32:09 +0100
annna-message-common: fix user addressing with cached meme filters
Signed-off-by: Annna Robert-Houdin <[email protected]>
Diffstat:
M annna-message-common | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/annna-message-common b/annna-message-common
@@ -1002,6 +1002,11 @@ case "${text}" in
esac
esac
+ if [ "${recipient}" != "${text}" ];
+ then
+ user="${recipient}"
+ fi
+
# Cleanup if outpath file is empty.
[ -f "${outpath}" -a ! -s "${outpath}" ] && rm "${outpath}"
@@ -1036,11 +1041,6 @@ case "${text}" in
;;
esac
- if [ "${recipient}" != "${text}" ];
- then
- user="${recipient}"
- fi
-
if [ -s "${outpath}" ];
then
annna-say -s "${server}" -c "${channel}" "${user}, gop…
@@ -1169,7 +1169,7 @@ $0 !~ /#nospoil/ {
}' | while read -r tag;
do
[ "${tag}" == "#expand" ] && continue
-
+
origtag="${tag}"
pointer=0
revpointer=0
You are viewing proxied material from bitreich.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.