From c64082388195fc81d0d43e8d360d64663c1d70a9 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Tue, 27 Apr 2021 21:38:37 +0200 Subject: [PATCH] global-functions: $ScriptInstallUpdate: pass origin to $SendNotification2 --- global-functions | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/global-functions b/global-functions index 3535f38..ddddcb8 100644 --- a/global-functions +++ b/global-functions @@ -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; }