diff --git a/rowbot b/rowbot index dfbb70b..2bfd7d5 100755 --- a/rowbot +++ b/rowbot @@ -1070,8 +1070,6 @@ while net_recv line; do while [[ $line ]]; do if [[ ${line:0:1} = : ]]; then msg_args+=( "${line:1}" ) msg[words]=yes line= - # Code using this array will be implemented later. - # shellcheck disable=SC2034 read -ra msg_words <<< "${msg_args[-1]}" log_debug "parsed final argument %s" "${msg_args[-1]}" else @@ -1114,8 +1112,6 @@ while net_recv line; do action=${msg_args[-1]#"${config[trigger]}"} action=${action%% *} action_line=${msg_args[-1]#"$trigger$action"} read -r action_line <<< "$action_line" - # This variable will be used in later code. - # shellcheck disable=SC2034 read -ra action_args <<< "$action_line" plugin_run "$action" fi