1
0
mirror of https://github.com/eworm-de/routeros-scripts.git synced 2024-05-11 05:55: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:
Christian Hesse
2022-07-13 11:34:51 +02:00
parent 34ea276469
commit 7f85e69713

View File

@ -129,7 +129,7 @@
$LogPrintExit2 info $0 ("Failed sending Matrix notification! Queuing...") false;
:if ([ :typeof $MatrixQueue ] = "nothing") do={
:set MatrixQueue [ :toarray "" ];
:set MatrixQueue ({});
}
:local Text ([ $SymbolForNotification "alarm-clock" ] . \
"This message was queued since " . [ /system/clock/get date ] . \