mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2024-05-11 05:55:19 +00:00
global-functions: $ScriptInstallUpdate: pass origin to $SendNotification2
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user