aboutsummaryrefslogtreecommitdiffstats
path: root/global-functions
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2020-12-10 09:37:37 +0100
committerGravatar Christian Hesse <mail@eworm.de>2020-12-10 09:38:59 +0100
commitadf35f3b16d0630785d5aa00420c03da6d5ba7ea (patch)
treedc6b2245ac95a4385112af8b3dd3d2812d10f83a /global-functions
parentcef0e8c0791298e00cf8c4e359fdb3628d8c4ff5 (diff)
global-functions: $FlushTelegramQueue: do not fail if run without scheduler
Diffstat (limited to 'global-functions')
-rw-r--r--global-functions2
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;
}
}