Introduction
Introduction Statistics Contact Development Disclaimer Help
Remove sloc by using lowercase for rfc. - annna - Annna the nice friendly bot.
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6…
Log
Files
Refs
Tags
README
---
commit 73b30596a6d1d8ae3444ed03e43b1ad534dcff63
parent 7ba45fbd502d675bf075776af99e51491679b41d
Author: Annna Robert-Houdin <[email protected]>
Date: Sun, 19 Oct 2025 09:47:00 +0200
Remove sloc by using lowercase for rfc.
Thanks seninha for the tip!
Diffstat:
M annna-message-common | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
---
diff --git a/annna-message-common b/annna-message-common
@@ -1997,17 +1997,13 @@ do
fi
done
-case "${IRC_PRIVMSG_TEXT}" in
+case "${IRC_PRIVMSG_TEXT,,}" in
*\#nospoil*)
;;
*rfc[0-9]*)
rfcname="$(printf "%s\n" "${IRC_PRIVMSG_TEXT}" | sed 's,.*\(rfc[0-9]*\…
annna-say "${rfcname}: ftp://ftp.rfc-editor.org/in-notes/${rfcname}.tx…
;;
-*RFC[0-9]*)
- rfcname="$(printf "%s\n" "${IRC_PRIVMSG_TEXT}" | sed 's,.*\(RFC[0-9]*\…
- annna-say "${rfcname}: ftp://ftp.rfc-editor.org/in-notes/${rfcname}.tx…
- ;;
esac
# Always keep the karma / shame last!
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.