hbbs

bbs.hlirc.net
Log | Files | Refs | README | LICENSE

commit 1f3259cb0ed876427a45031fc4a7c6e8ba3602fd
parent 04db0307a1ddffae5844ec989f8e10456a46c5a1
Author: hhvn <hayden@haydenvh.com>
Date:   Mon,  1 Feb 2021 10:22:51 +0000

bin/interface.sh: bug - all read commands defaulted to first message in thread

Diffstat:
Mbin/interface.sh | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/interface.sh b/bin/interface.sh @@ -93,7 +93,7 @@ menu_list(){ o) break ;; r) [ "$arg" = "" ] && prompt "id" arg - echo "$arg" | grep '.' >/dev/null && { + echo "$arg" | grep '.' >/dev/null || { arg="$arg.0" } grep "^${arg%%.*} ${arg##*.}" < $datadir/boards/$board/list >/dev/null && {