From adf35f3b16d0630785d5aa00420c03da6d5ba7ea Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Thu, 10 Dec 2020 09:37:37 +0100 Subject: global-functions: $FlushTelegramQueue: do not fail if run without scheduler --- global-functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'global-functions') diff --git a/global-functions b/global-functions index 5e643d9..fadd2c6 100644 --- a/global-functions +++ b/global-functions @@ -308,7 +308,7 @@ } :if ($AllDone = true && $QueueLen = [ :len $TelegramQueue ]) do={ - / system scheduler remove FlushTelegramQueue; + / system scheduler remove [ find where name="FlushTelegramQueue" ]; :set TelegramQueue; } } -- cgit v1.2.3-70-g09d2