Extend n-word filter. - annna - Annna the nice friendly bot. | |
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
--- | |
commit 55c018349fe429af43677c7749811ada06535f3a | |
parent 742420d0021fa626ebe7a7dc91831be83f529715 | |
Author: Annna Robert-Houdin <[email protected]> | |
Date: Thu, 25 May 2023 01:58:05 +0200 | |
Extend n-word filter. | |
Diffstat: | |
M annna-message-common | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/annna-message-common b/annna-message-common | |
@@ -413,7 +413,7 @@ case "${text}" in | |
"${ircuser}, please pray for me.") | |
annna-say -s "${server}" -c "${channel}" "${user}, here, for you: goph… | |
;; | |
-"${ircuser}, nigger.") | |
+"${ircuser}, nigger."|*nigger*|*NIGGER*) | |
nword="$(n-word)" | |
annna-say -s "${server}" -c "${channel}" "${user}, don't use the ${nwo… | |
;; |