parent
89ac61afe7
commit
90d3d7551d
|
@ -291,7 +291,7 @@ process_message() {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# split message in command and args
|
# split message in command and args
|
||||||
[[ "${MESSAGE[0]}" == "/"* ]] && read -r CMD <<<"${MESSAGE[0]}" && CMD[0]="${CMD[0]%%@*}"
|
[[ "${MESSAGE[0]}" == "/"* ]] && read -ra CMD <<<"${MESSAGE[0]}" && CMD[0]="${CMD[0]%%@*}"
|
||||||
# everything went well
|
# everything went well
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue