use per-sever credentials - 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 14414f5c73b26e6bca160d27954e5b132abf0a81 DIR parent 2d7a87c942313ecbb5cd5166213e73459b9d70f7 HTML Author: Josuah Demangeon <mail@josuah.net> Date: Sun, 7 Mar 2021 23:53:22 +0100 use per-sever credentials The irc-credentials.txt config file is now part of the ii(1) hierarchy as well. Signed-off-by: Annna Robert-Houdin <annna@bitreich.org> Diffstat: M annna-start-main | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- DIR diff --git a/annna-start-main b/annna-start-main @@ -53,8 +53,8 @@ done sleep 2 # Nickserv -ircuser="$(grep user $HOME/irc-credentials.txt | cut -d' ' -f 2)" -ircpass="$(grep pass $HOME/irc-credentials.txt | cut -d' ' -f 2)" +ircuser="$(grep user $HOME/irc/${server}/irc-credentials.txt | cut -d' ' -f 2)" +ircpass="$(grep pass $HOME/irc/${server}/irc-credentials.txt | cut -d' ' -f 2)" printf "/privmsg nickserv :identify %s %s\n" "${ircuser}" "${ircpass}" \ > ${server}/in