Properly test if argument is a chanel
This commit is contained in:
parent
2e001b8784
commit
45ab12a482
1 changed files with 1 additions and 1 deletions
2
rowbot
2
rowbot
|
@ -63,7 +63,7 @@ is_action() {
|
||||||
}
|
}
|
||||||
|
|
||||||
is_chan() {
|
is_chan() {
|
||||||
[[ ${msg_args[${1:-0}]} = \# ]]
|
[[ ${msg_args[${1:-0}]:0:1} = \# ]]
|
||||||
}
|
}
|
||||||
|
|
||||||
is_parent() {
|
is_parent() {
|
||||||
|
|
Loading…
Reference in a new issue