commit b66fc03f425758acb9e2becc7edafd7c7032ae4f
parent c5c28543561eda2d2c5cb8fdd17735338fcb7da3
Author: noodle <noodle@pastanoggin.com>
Date: Fri, 7 Nov 2025 09:09:01 +0000
remove duplicate return due to empty chunk (thanks, c0co!)
Diffstat:
1 file changed, 0 insertions(+), 1 deletion(-)
diff --git a/mata_bot.pl b/mata_bot.pl
@@ -289,7 +289,6 @@ sub evasdrop {
logger($opts, 'error', 'recv received an empty response');
return;
}
- return if not $chunk;
$chunk =~ /^([^\r\n]+)(\r\n)?([^\r\n]+)?$/;
# keep reading if chunk is empty
next if (not $1);