aboutsummaryrefslogtreecommitdiffstats
path: root/global-functions
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2021-04-27 21:38:37 +0200
committerGravatar Christian Hesse <mail@eworm.de>2021-04-28 13:58:37 +0200
commitc64082388195fc81d0d43e8d360d64663c1d70a9 (patch)
tree73b987be67c7fa2976802071fbef840e6adc2541 /global-functions
parent2d0ce176299c12de6898e17964ccfc4505b65b7c (diff)
global-functions: $ScriptInstallUpdate: pass origin to $SendNotification2
Diffstat (limited to 'global-functions')
-rw-r--r--global-functions5
1 files 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;
}