diff options
author | Christian Hesse <mail@eworm.de> | 2020-12-10 09:37:37 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2020-12-10 09:38:59 +0100 |
commit | adf35f3b16d0630785d5aa00420c03da6d5ba7ea (patch) | |
tree | dc6b2245ac95a4385112af8b3dd3d2812d10f83a | |
parent | cef0e8c0791298e00cf8c4e359fdb3628d8c4ff5 (diff) |
global-functions: $FlushTelegramQueue: do not fail if run without scheduler
-rw-r--r-- | global-functions | 2 |
1 files changed, 1 insertions, 1 deletions
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; } } |