mirror of
https://github.com/nymurbd/MikroTik-scripts.git
synced 2025-07-16 13:04:32 +02:00
mod/notification-telegram: update initialization of empty array
Having the parenthesis here is important for valid syntax!
This commit is contained in:
parent
7f85e69713
commit
f34c353b5f
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@
|
|||
$LogPrintExit2 info $0 ("Failed sending telegram notification! Queuing...") false;
|
||||
|
||||
:if ([ :typeof $TelegramQueue ] = "nothing") do={
|
||||
:set TelegramQueue [ :toarray "" ];
|
||||
:set TelegramQueue ({});
|
||||
}
|
||||
:set Text ($Text . [ $UrlEncode ("\n" . [ $SymbolForNotification "alarm-clock" ] . \
|
||||
[ $EscapeMD ("This message was queued since " . [ /system/clock/get date ] . \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue