global-functions: $ScriptInstallUpdate: pass origin to $SendNotification2

This commit is contained in:
Christian Hesse 2021-04-27 21:38:37 +02:00
parent 2d0ce17629
commit c640823881
1 changed files with 3 additions and 2 deletions

View File

@ -855,8 +855,9 @@
:set Link "https://git.eworm.de/cgit/routeros-scripts/about/#donate";
}
$SendNotification2 ({ subject=([ $SymbolForNotification "pushpin" ] . \
"News and configuration changes"); message=$NotificationMessage; link=$Link });
$SendNotification2 ({ origin=$0; \
subject=([ $SymbolForNotification "pushpin" ] . "News and configuration changes"); \
message=$NotificationMessage; link=$Link });
:set SentConfigChangesNotification $ExpectedConfigVersion;
}