mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-07-27 22:34:58 +02:00
mod/notification-telegram: $SendTelegram: set origin
This commit is contained in:
parent
9e2b72ccdc
commit
9e4749a5b7
1 changed files with 1 additions and 1 deletions
|
@ -175,7 +175,7 @@
|
||||||
:set SendTelegram do={
|
:set SendTelegram do={
|
||||||
:global SendTelegram2;
|
:global SendTelegram2;
|
||||||
|
|
||||||
$SendTelegram2 ({ subject=$1; message=$2; link=$3; silent=$4 });
|
$SendTelegram2 ({ origin=$0; subject=$1; message=$2; link=$3; silent=$4 });
|
||||||
}
|
}
|
||||||
|
|
||||||
# send notification via telegram - expects one array argument
|
# send notification via telegram - expects one array argument
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue