aboutsummaryrefslogtreecommitdiffstats
path: root/telegram-chat
diff options
context:
space:
mode:
Diffstat (limited to 'telegram-chat')
-rw-r--r--telegram-chat2
1 files changed, 1 insertions, 1 deletions
diff --git a/telegram-chat b/telegram-chat
index 4a78da4..dffded1 100644
--- a/telegram-chat
+++ b/telegram-chat
@@ -97,7 +97,7 @@ $WaitFullyConnected;
}
$LogPrintExit2 info $0 ("Now " . [ $IfThenElse $TelegramChatActive "active" "passive" ] . "!") false;
} else={
- :if ($TelegramChatActive = true && [ :len $Text ] > 0) do={
+ :if ($TelegramChatActive = true && $Text != false && [ :len $Text ] > 0) do={
:if ([ $ValidateSyntax $Text ] = true) do={
:local State "";
:local File ("tmpfs/telegram-chat/" . [ $GetRandom20CharAlNum 6 ]);