Restrict maximum length of title. - annna - Annna the nice friendly bot.
HTML git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/annna/
DIR Log
DIR Files
DIR Refs
DIR Tags
DIR README
---
DIR commit bce44be6e44288861d5f49812aac4c809c4a50ce
DIR parent 8bcbe0cb4c25cfa7b106c525fd6e8b83043bba06
HTML Author: Annna Robert-Houdin <annna@bitreich.org>
Date: Sat, 17 Jan 2026 17:12:16 +0100
Restrict maximum length of title.
Diffstat:
M annna-message-common | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/annna-message-common b/annna-message-common
@@ -149,7 +149,7 @@ case "${IRC_PRIVMSG_TEXT}" in
fetch-uri "${archiveorguri}" > "${tmpf}"
fi
fi
- [ -s "${tmpf}" ] && urititle="$(grabtitle < "${tmpf}")"
+ [ -s "${tmpf}" ] && urititle="$(grabtitle < "${tmpf}" | cut -c 42-)"
case "${urititle}" in
"");;