Fix incorrect variable name usage

This commit is contained in:
Nick Chambers 2021-07-19 17:38:40 -05:00
parent cb615091f7
commit 4b33741ba9
1 changed files with 1 additions and 1 deletions

2
rowbot
View File

@ -479,7 +479,7 @@ on_msg_005_welcome() {
declare -gA isupport
local param key value
for param in "${args[@]:1:${#args[@]}-2}"; do
for param in "${msg_args[@]:1:${#msg_args[@]}-2}"; do
# This is a valid assignment, not a comparison.
# shellcheck disable=SC1097
IFS== read -r key value <<< "$param"