From 1670e1d8ac313808f05df3a2bf6d4e67d5ae78ac Mon Sep 17 00:00:00 2001 From: lukeroge Date: Wed, 4 Apr 2012 10:28:59 +1200 Subject: [PATCH] Removed http related code, therefore making this work when LXML is missing --- plugins/misc.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/plugins/misc.py b/plugins/misc.py index 1a25988..414cfe3 100755 --- a/plugins/misc.py +++ b/plugins/misc.py @@ -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: