Keep bot alive during long times of inactivity
commit0222498688368df16c693aaff229e6c30cb903af
authorArthur Furlan <afurlan@afurlan.org>
Wed, 10 Nov 2010 08:50:55 +0000 (10 09:50 +0100)
committerThomas Perl <m@thp.io>
Wed, 10 Nov 2010 08:50:55 +0000 (10 09:50 +0100)
treec2fa52640a1ca088774092e8e560453d9a23ee38
parent9051f302383af3ed72407bf3746f44e0422d885d
Keep bot alive during long times of inactivity

Add an (optional) parameter to the JabberBot __init__
method that controls whether or not a "keepalive"
thread should be started in the background to keep
the connection to a server alive during long times of
inactivity.
jabberbot.py