aboutsummaryrefslogtreecommitdiffstats
path: root/mod/notification-matrix
diff options
context:
space:
mode:
Diffstat (limited to 'mod/notification-matrix')
-rw-r--r--mod/notification-matrix6
1 files changed, 6 insertions, 0 deletions
diff --git a/mod/notification-matrix b/mod/notification-matrix
index 8a74a1c..f905839 100644
--- a/mod/notification-matrix
+++ b/mod/notification-matrix
@@ -13,8 +13,14 @@
:set FlushMatrixQueue do={
:global MatrixQueue;
+ :global IsFullyConnected;
:global LogPrintExit2;
+ :if ([ $IsFullyConnected ] = false) do={
+ $LogPrintExit2 debug $0 ("System is not fully connected, not flushing.") false;
+ :return false;
+ }
+
:local AllDone true;
:local QueueLen [ :len $MatrixQueue ];