mirror of
https://github.com/octoleo/telegram-bot-bash.git
synced 2024-11-26 09:16:28 +00:00
unneeded : in start_bot fixes #134
This commit is contained in:
parent
e7739b8333
commit
3d760b3319
@ -11,7 +11,7 @@
|
|||||||
# This file is public domain in the USA and all free countries.
|
# This file is public domain in the USA and all free countries.
|
||||||
# Elsewhere, consider it to be WTFPLv2. (wtfpl.net/txt/copying)
|
# Elsewhere, consider it to be WTFPLv2. (wtfpl.net/txt/copying)
|
||||||
#
|
#
|
||||||
#### $$VERSION$$ v0.98-dev-70-g694ee61
|
#### $$VERSION$$ v0.98-dev-73-ge7739b8
|
||||||
#
|
#
|
||||||
# Exit Codes:
|
# Exit Codes:
|
||||||
# - 0 success (hopefully)
|
# - 0 success (hopefully)
|
||||||
@ -849,7 +849,7 @@ export BASHBOTDEBUG
|
|||||||
start_bot() {
|
start_bot() {
|
||||||
local ADMIN OFFSET=0
|
local ADMIN OFFSET=0
|
||||||
# adaptive sleep defaults
|
# adaptive sleep defaults
|
||||||
local nextsleep="100" :
|
local nextsleep="100"
|
||||||
local stepsleep="${BASHBOT_SLEEP_STEP:-100}"
|
local stepsleep="${BASHBOT_SLEEP_STEP:-100}"
|
||||||
local maxsleep="${BASHBOT_SLEEP:-5000}"
|
local maxsleep="${BASHBOT_SLEEP:-5000}"
|
||||||
# startup message
|
# startup message
|
||||||
|
Loading…
Reference in New Issue
Block a user