Skip to content

Commit 73ab7ad

Browse files
committed
upd
1 parent 8e91669 commit 73ab7ad

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=FastBot2
2-
version=1.0.8
2+
version=1.0.9
33
author=AlexGyver <[email protected]>
44
maintainer=AlexGyver <[email protected]>
55
sentence=Fast and universal Arduino/ESP8266/ESP32 library for Telegram bot

src/core/core.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ class Core : public Http {
191191
// ============================== TICK ==============================
192192
// тикер, вызывать в loop. Вернёт true, если был обработан Update
193193
bool tick() {
194-
if (!_state) return 0;
194+
if (!_state || !_token.length()) return 0;
195195

196196
// OTA
197197
#ifndef FB_NO_FILE

0 commit comments

Comments
 (0)