Introduction
Introduction Statistics Contact Development Disclaimer Help
use per-sever credentials - annna - Annna the nice friendly bot.
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6…
Log
Files
Refs
Tags
README
---
commit 14414f5c73b26e6bca160d27954e5b132abf0a81
parent 2d7a87c942313ecbb5cd5166213e73459b9d70f7
Author: Josuah Demangeon <[email protected]>
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 <[email protected]>
Diffstat:
M annna-start-main | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
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
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.