mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-25 12:12:54 +01:00
LogToIrc: Update __init__/die signatures.
This commit is contained in:
parent
6d880c9a6f
commit
f0b4332908
@ -51,11 +51,13 @@ from .handler import _ircHandler
|
||||
|
||||
class LogToIrc(callbacks.Privmsg):
|
||||
threaded = True
|
||||
def __init__(self):
|
||||
callbacks.Privmsg.__init__(self)
|
||||
def __init__(self, irc):
|
||||
self.__parent = super(LogToIrc, self)
|
||||
self.__parent.__init__(irc)
|
||||
log._logger.addHandler(_ircHandler)
|
||||
|
||||
def die(self):
|
||||
self.__parent.die()
|
||||
log._logger.removeHandler(_ircHandler)
|
||||
|
||||
def do376(self, irc, msg):
|
||||
|
Loading…
Reference in New Issue
Block a user