Lets add a default here
This commit is contained in:
parent
1670e1d8ac
commit
39744d714a
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ def onjoin(paraml, conn=None, bot=None):
|
||||||
time.sleep(1)
|
time.sleep(1)
|
||||||
|
|
||||||
# Stay-alive code
|
# Stay-alive code
|
||||||
stayalive = conn.conf.get('stayalive')
|
stayalive = conn.conf.get('stayalive', False)
|
||||||
if stayalive:
|
if stayalive:
|
||||||
delay = conn.conf.get('stayalive_delay', 20)
|
delay = conn.conf.get('stayalive_delay', 20)
|
||||||
while True:
|
while True:
|
||||||
|
|
Reference in a new issue