Fix sending to users for annna-say. - 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 e2c9b900e7203ee3ddf96161bd56e552689649c6
(DIR) parent 0bfdb12254b557ea0d84331d7d5a46a3a6a3a1fe
(HTM) Author: Annna Robert-Houdin <annna@bitreich.org>
Date: Sun, 13 Aug 2023 20:34:15 +0200
Fix sending to users for annna-say.
Diffstat:
M annna-say | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/annna-say b/annna-say
@@ -54,11 +54,11 @@ do
esac
ircpath="${ircbase}/${cserver}/${cname}"
-
if [ -e "$ircpath/in" ];
then
printf "%s\n" "$@" > "${ircpath}/in"
else
+ ircpath="${ircbase}/${cserver}"
# Might be a user.
printf "/j %s %s\n" "$c" "$@" > "${ircpath}/in"
fi