hooks can get chunks and data

This commit is contained in:
ChillerDragon 2023-09-17 11:54:01 +02:00
parent 84e0bd67de
commit ded776dd4a

View file

@ -46,7 +46,9 @@ function get_msg_of_client_hook() {
local in_func=0
while IFS='' read -r line
do
if [ "$line" == " def $hook(chunk)" ] || [ "$line" == " def $hook" ]
if [ "$line" == " def $hook(chunk)" ] \
|| [ "$line" == " def $hook(data)" ] \
|| [ "$line" == " def $hook" ]
then
in_func=1
fi