global-functions: $ScriptInstallUpdate: pass origin to $SendNotification2
This commit is contained in:
parent
2d0ce17629
commit
c640823881
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue