mirror of
https://github.com/eworm-de/routeros-scripts
synced 2024-05-14 08:04:19 +00:00
mod/notification-matrix: update initialization of empty array
Having the parenthesis here is important for valid syntax!
This commit is contained in:
parent
34ea276469
commit
7f85e69713
|
@ -129,7 +129,7 @@
|
||||||
$LogPrintExit2 info $0 ("Failed sending Matrix notification! Queuing...") false;
|
$LogPrintExit2 info $0 ("Failed sending Matrix notification! Queuing...") false;
|
||||||
|
|
||||||
:if ([ :typeof $MatrixQueue ] = "nothing") do={
|
:if ([ :typeof $MatrixQueue ] = "nothing") do={
|
||||||
:set MatrixQueue [ :toarray "" ];
|
:set MatrixQueue ({});
|
||||||
}
|
}
|
||||||
:local Text ([ $SymbolForNotification "alarm-clock" ] . \
|
:local Text ([ $SymbolForNotification "alarm-clock" ] . \
|
||||||
"This message was queued since " . [ /system/clock/get date ] . \
|
"This message was queued since " . [ /system/clock/get date ] . \
|
||||||
|
|
Loading…
Reference in a new issue