unneeded : in start_bot fixes #134

This commit is contained in:
Kay Marquardt (Gnadelwartz) 2020-06-23 20:48:28 +02:00
parent e7739b8333
commit 3d760b3319

View File

@ -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