Properly test if argument is a chanel

This commit is contained in:
Nick Chambers 2021-07-12 03:55:03 -05:00 committed by Nick Chambers
parent 2e001b8784
commit 45ab12a482
1 changed files with 1 additions and 1 deletions

2
rowbot
View File

@ -63,7 +63,7 @@ is_action() {
} }
is_chan() { is_chan() {
[[ ${msg_args[${1:-0}]} = \# ]] [[ ${msg_args[${1:-0}]:0:1} = \# ]]
} }
is_parent() { is_parent() {