Remove some legacy stuff
This commit is contained in:
parent
0ab51d79ae
commit
04eccbe250
4
bot.py
4
bot.py
@ -118,7 +118,6 @@ class Bot(threading.Thread):
|
|||||||
|
|
||||||
# Other known bots, making a bots network
|
# Other known bots, making a bots network
|
||||||
self.network = dict()
|
self.network = dict()
|
||||||
self.hooks_cache = dict()
|
|
||||||
|
|
||||||
# Messages to be treated
|
# Messages to be treated
|
||||||
self.cnsr_queue = Queue()
|
self.cnsr_queue = Queue()
|
||||||
@ -318,7 +317,6 @@ class Bot(threading.Thread):
|
|||||||
def add_server(self, node, nick, owner, realname):
|
def add_server(self, node, nick, owner, realname):
|
||||||
"""Add a new server to the context"""
|
"""Add a new server to the context"""
|
||||||
srv = IRCServer(node, nick, owner, realname)
|
srv = IRCServer(node, nick, owner, realname)
|
||||||
#srv.register_hooks()
|
|
||||||
if srv.id not in self.servers:
|
if srv.id not in self.servers:
|
||||||
self.servers[srv.id] = srv
|
self.servers[srv.id] = srv
|
||||||
srv.open()
|
srv.open()
|
||||||
@ -492,8 +490,6 @@ def reload():
|
|||||||
imp.reload(tools.date)
|
imp.reload(tools.date)
|
||||||
import tools.web
|
import tools.web
|
||||||
imp.reload(tools.web)
|
imp.reload(tools.web)
|
||||||
import tools.wrapper
|
|
||||||
imp.reload(tools.wrapper)
|
|
||||||
|
|
||||||
import xmlparser
|
import xmlparser
|
||||||
imp.reload(xmlparser)
|
imp.reload(xmlparser)
|
||||||
|
Loading…
Reference in New Issue
Block a user