IRCLogging -> Logging
This commit is contained in:
parent
b21604b71f
commit
3ecd938de2
2 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
import os, select, sys, threading, time, traceback, uuid
|
import os, select, sys, threading, time, traceback, uuid
|
||||||
|
|
||||||
import EventManager, IRCLineHandler, IRCLogging, IRCServer
|
import EventManager, IRCLineHandler, IRCServer, Logging
|
||||||
import ModuleManager, Timer
|
import ModuleManager, Timer
|
||||||
|
|
||||||
class Bot(object):
|
class Bot(object):
|
||||||
|
@ -15,7 +15,7 @@ class Bot(object):
|
||||||
self.poll = select.epoll()
|
self.poll = select.epoll()
|
||||||
self._events = EventManager.EventHook(self)
|
self._events = EventManager.EventHook(self)
|
||||||
self.modules = ModuleManager.ModuleManager(self, self._events)
|
self.modules = ModuleManager.ModuleManager(self, self._events)
|
||||||
self.log = IRCLogging.Log(self)
|
self.log = Logging.Log(self)
|
||||||
self.line_handler = IRCLineHandler.LineHandler(self, self._events)
|
self.line_handler = IRCLineHandler.LineHandler(self, self._events)
|
||||||
self.timers = []
|
self.timers = []
|
||||||
self._events.on("timer").on("reconnect").hook(self.reconnect)
|
self._events.on("timer").on("reconnect").hook(self.reconnect)
|
||||||
|
|
Loading…
Reference in a new issue