Removed http related code, therefore making this work when LXML is missing

This commit is contained in:
lukeroge 2012-04-04 10:28:59 +12:00
parent f9ddfaaad5
commit 1670e1d8ac

View file

@ -4,7 +4,7 @@ import subprocess
import platform
import time
from util import hook, http
from util import hook
socket.setdefaulttimeout(10)
@ -51,9 +51,6 @@ def onjoin(paraml, conn=None, bot=None):
conn.join(channel)
time.sleep(1)
# HTTP Useragent
http.ua_cloudbot = 'CloudBot - http://git.io/cloudbotirc'
# Stay-alive code
stayalive = conn.conf.get('stayalive')
if stayalive: