hooks can get chunks and data
This commit is contained in:
parent
84e0bd67de
commit
ded776dd4a
|
@ -46,7 +46,9 @@ function get_msg_of_client_hook() {
|
||||||
local in_func=0
|
local in_func=0
|
||||||
while IFS='' read -r line
|
while IFS='' read -r line
|
||||||
do
|
do
|
||||||
if [ "$line" == " def $hook(chunk)" ] || [ "$line" == " def $hook" ]
|
if [ "$line" == " def $hook(chunk)" ] \
|
||||||
|
|| [ "$line" == " def $hook(data)" ] \
|
||||||
|
|| [ "$line" == " def $hook" ]
|
||||||
then
|
then
|
||||||
in_func=1
|
in_func=1
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue