Remove redundant shellcheck switches
This commit is contained in:
parent
7655bc56a3
commit
85358fb674
1 changed files with 0 additions and 4 deletions
4
rowbot
4
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
|
||||
|
|
Loading…
Reference in a new issue