diff options
Diffstat (limited to 'mod')
-rw-r--r-- | mod/bridge-port-to | 2 | ||||
-rw-r--r-- | mod/bridge-port-vlan | 2 | ||||
-rw-r--r-- | mod/notification-matrix | 2 | ||||
-rw-r--r-- | mod/notification-telegram | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/mod/bridge-port-to b/mod/bridge-port-to index ae74824..3f62e6f 100644 --- a/mod/bridge-port-to +++ b/mod/bridge-port-to @@ -15,7 +15,7 @@ :global LogPrintExit2; :global ParseKeyValueStore; - :local InterfaceReEnable [ :toarray "" ]; + :local InterfaceReEnable ({}); :foreach BridgePort in=[ /interface/bridge/port/find where !(comment=[]) ] do={ :local BridgePortVal [ /interface/bridge/port/get $BridgePort ]; :foreach Config,BridgeDefault in=[ $ParseKeyValueStore ($BridgePortVal->"comment") ] do={ diff --git a/mod/bridge-port-vlan b/mod/bridge-port-vlan index a43d7d7..9a6e08a 100644 --- a/mod/bridge-port-vlan +++ b/mod/bridge-port-vlan @@ -15,7 +15,7 @@ :global LogPrintExit2; :global ParseKeyValueStore; - :local InterfaceReEnable [ :toarray "" ]; + :local InterfaceReEnable ({}); :foreach BridgePort in=[ /interface/bridge/port/find where !(comment=[]) ] do={ :local BridgePortVal [ /interface/bridge/port/get $BridgePort ]; :foreach Config,Vlan in=[ $ParseKeyValueStore ($BridgePortVal->"comment") ] do={ diff --git a/mod/notification-matrix b/mod/notification-matrix index f905839..c4dd27b 100644 --- a/mod/notification-matrix +++ b/mod/notification-matrix @@ -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 ] . \ diff --git a/mod/notification-telegram b/mod/notification-telegram index 493aa00..8c4cd65 100644 --- a/mod/notification-telegram +++ b/mod/notification-telegram @@ -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 ] . \ |