Only one line from pohlcode. It could be a flood output. - annna - Annna the ni… | |
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
--- | |
commit edbf616c68c7c15e632ab88e3b758b95b2a439fe | |
parent e6ab79ad9674daa2d40b5704140990607db9c609 | |
Author: Annna Robert-Houdin <[email protected]> | |
Date: Wed, 9 Apr 2025 19:25:51 +0200 | |
Only one line from pohlcode. It could be a flood output. | |
Diffstat: | |
M annna-message-common | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/annna-message-common b/annna-message-common | |
@@ -722,7 +722,7 @@ case "${text}" in | |
;; | |
"${ircuser}, please pohlish "*) | |
word="$(printf "%s\n" "${text}" | cut -c 23- | sed 's,\t, ,g')" | |
- suri="$(pohlcode.awk "${word}")" | |
+ suri="$(pohlcode.awk "${word}" | head -n 1)" | |
annna-say -s "${server}" -c "${channel}" "${suri}" | |
;; | |
"${ircuser}, what can I cook with "*) |