Introduction
Introduction Statistics Contact Development Disclaimer Help
Add ignorednicks. - annna - Annna the nice friendly bot.
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6…
Log
Files
Refs
Tags
README
---
commit c32bfb16de3ff0acb7c4fd90bcf1f9be341ca911
parent 33379a4e5396ec5822e14050600801877e2e0b1f
Author: Annna Robert-Houdin <[email protected]>
Date: Tue, 28 Jan 2025 06:50:21 +0100
Add ignorednicks.
Eidolon is posting political fear propaganda besides him being told to
stop. Measures had to be taken.
Diffstat:
M annna-message-common | 8 ++++++++
1 file changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/annna-message-common b/annna-message-common
@@ -10,6 +10,7 @@ idontcaredb="${modbase}/i-dont-care/i-dont-care.txt"
printnhashtags=2
brmembers="__20h__ Evil_Bob chripo posativ quinq stateless solene josuah paraz…
referees="__20h__"
+ignorednicks="eidolon"
linkbrotherchannels="#bitreich-con"
server="$1"
@@ -39,6 +40,13 @@ regeximatch() {
[ "$user" = "${ircuser}" ] && exit 0
+isignored=0
+for ignorednick in $ignorednicks;
+do
+ [ "$user" = "$ignorednick" ] && isignored=1
+done
+[ $isignored -eq 1 ] && exit
+
# Flag, if some expansion of some URI happened.
uriexpansion=0
# Do not spoil at all.
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.