From 76f32e3927d2e40f2b6cc28f93186bf84d222799 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Tue, 27 Apr 2021 20:37:33 +0200 Subject: global-functions: $ScriptInstallUpdate: use $SendNotification2 --- global-functions | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'global-functions') diff --git a/global-functions b/global-functions index b8a7dad..aa0ea07 100644 --- a/global-functions +++ b/global-functions @@ -678,7 +678,7 @@ :global LogPrintExit2; :global ParseKeyValueStore; :global ScriptInstallUpdate; - :global SendNotification; + :global SendNotification2; :global SymbolForNotification; :global ValidateSyntax; @@ -845,8 +845,8 @@ :set Link "https://git.eworm.de/cgit/routeros-scripts/about/#donate"; } - $SendNotification ([ $SymbolForNotification "pushpin" ] . "News and configuration changes") \ - $NotificationMessage $Link; + $SendNotification2 ({ subject=([ $SymbolForNotification "pushpin" ] . \ + "News and configuration changes"); message=$NotificationMessage; link=$Link }); :set SentConfigChangesNotification $ExpectedConfigVersion; } -- cgit v1.2.3-54-g00ecf