fix zmtrigger. Need {}

This commit is contained in:
Isaac Connor 2021-12-12 17:01:12 -05:00
parent b4511a8fc3
commit ef13c84d8b
1 changed files with 1 additions and 1 deletions

View File

@ -196,7 +196,7 @@ while (!$zm_terminate) {
foreach my $connection ( @in_poll_connections ) { foreach my $connection ( @in_poll_connections ) {
my $messages = $connection->getMessages(); my $messages = $connection->getMessages();
if (defined($messages)) { if (defined($messages)) {
foreach my $message (@$messages) handleMessage($connection, $message); foreach my $message (@$messages) { handleMessage($connection, $message) };
} }
} }