mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2024-05-11 05:55:19 +00:00
global-functions: $SendNotification: set origin
This commit is contained in:
@@ -1299,7 +1299,7 @@
|
|||||||
:set SendNotification do={
|
:set SendNotification do={
|
||||||
:global SendNotification2;
|
:global SendNotification2;
|
||||||
|
|
||||||
$SendNotification2 ({ subject=$1; message=$2; link=$3; silent=$4 });
|
$SendNotification2 ({ origin=$0; subject=$1; message=$2; link=$3; silent=$4 });
|
||||||
}
|
}
|
||||||
|
|
||||||
# send notification via NotificationFunctions - expects one array argument
|
# send notification via NotificationFunctions - expects one array argument
|
||||||
|
|||||||
Reference in New Issue
Block a user