From 45ab12a4822f2c2bd975b718879eca4764347512 Mon Sep 17 00:00:00 2001 From: Nick Chambers Date: Mon, 12 Jul 2021 03:55:03 -0500 Subject: [PATCH] Properly test if argument is a chanel --- rowbot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rowbot b/rowbot index 2c9c18f..47d356f 100755 --- a/rowbot +++ b/rowbot @@ -63,7 +63,7 @@ is_action() { } is_chan() { - [[ ${msg_args[${1:-0}]} = \# ]] + [[ ${msg_args[${1:-0}]:0:1} = \# ]] } is_parent() {