aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2021-04-27 20:37:33 +0200
committerGravatar Christian Hesse <mail@eworm.de>2021-04-28 13:58:37 +0200
commit76f32e3927d2e40f2b6cc28f93186bf84d222799 (patch)
tree947b2fa55a8ff73e3c1f638c4697cffcabee83d2
parentc7a2eecd3c875e8225da13a83cfd37c390ee7082 (diff)
global-functions: $ScriptInstallUpdate: use $SendNotification2
-rw-r--r--global-functions6
1 files changed, 3 insertions, 3 deletions
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;
}