Skip to content

Commit

Permalink
hooks can get chunks and data
Browse files Browse the repository at this point in the history
  • Loading branch information
ChillerDragon committed Sep 17, 2023
1 parent 84e0bd6 commit ded776d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/hooks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ded776d

Please sign in to comment.