Fix syslog endpoint.

This commit is contained in:
Alfredo Cardigliano 2023-09-27 10:45:06 +02:00
parent db17a47e8a
commit ce0eb043cf

View file

@ -182,7 +182,7 @@ function syslog.dequeueRecipientAlerts(recipient, budget)
local notification = ntop.recipient_dequeue(recipient.recipient_id)
if notification then
if alert_utils.filter_notification(notification, recipient.recipient_id) then
notifications[#notifications + 1] = notification.alert
notifications[#notifications + 1] = notification
i = i + 1
end
else