1
0
Fork 0

Remove some legacy stuff

This commit is contained in:
nemunaire 2014-09-22 17:48:59 +02:00
parent 0ab51d79ae
commit 04eccbe250
1 changed files with 0 additions and 4 deletions

4
bot.py
View File

@ -118,7 +118,6 @@ class Bot(threading.Thread):
# Other known bots, making a bots network
self.network = dict()
self.hooks_cache = dict()
# Messages to be treated
self.cnsr_queue = Queue()
@ -318,7 +317,6 @@ class Bot(threading.Thread):
def add_server(self, node, nick, owner, realname):
"""Add a new server to the context"""
srv = IRCServer(node, nick, owner, realname)
#srv.register_hooks()
if srv.id not in self.servers:
self.servers[srv.id] = srv
srv.open()
@ -492,8 +490,6 @@ def reload():
imp.reload(tools.date)
import tools.web
imp.reload(tools.web)
import tools.wrapper
imp.reload(tools.wrapper)
import xmlparser
imp.reload(xmlparser)