aboutsummaryrefslogtreecommitdiffstats
path: root/global-functions.d
diff options
context:
space:
mode:
Diffstat (limited to 'global-functions.d')
-rw-r--r--global-functions.d/notification-matrix2
-rw-r--r--global-functions.d/notification-telegram2
2 files changed, 2 insertions, 2 deletions
diff --git a/global-functions.d/notification-matrix b/global-functions.d/notification-matrix
index 962924e..a2f7af0 100644
--- a/global-functions.d/notification-matrix
+++ b/global-functions.d/notification-matrix
@@ -135,7 +135,7 @@
plain=$Plain; formatted=$Formatted };
:if ([ :len [ / system scheduler find where name="FlushMatrixQueue" ] ] = 0) do={
/ system scheduler add name=FlushMatrixQueue interval=1m start-time=startup \
- on-event=":global FlushMatrixQueue; \$FlushMatrixQueue;";
+ on-event=(":global FlushMatrixQueue; \$FlushMatrixQueue;");
}
}
}
diff --git a/global-functions.d/notification-telegram b/global-functions.d/notification-telegram
index 4a05c9a..d8fe448 100644
--- a/global-functions.d/notification-telegram
+++ b/global-functions.d/notification-telegram
@@ -141,7 +141,7 @@
parsemode=$ParseMode; text=$Text; silent=($Notification->"silent") };
:if ([ :len [ / system scheduler find where name="FlushTelegramQueue" ] ] = 0) do={
/ system scheduler add name=FlushTelegramQueue interval=1m start-time=startup \
- on-event=":global FlushTelegramQueue; \$FlushTelegramQueue;";
+ on-event=(":global FlushTelegramQueue; \$FlushTelegramQueue;");
}
}
}