Fix plugins.ChannelIdDatabasePlugin's __init__ to accept an Irc now, like it should

This commit is contained in:
Daniel DiPaolo 2005-02-02 07:00:47 +00:00
parent c7d91d3751
commit 37d0bb456e

View File

@ -373,9 +373,9 @@ class ChannelIdDatabasePlugin(callbacks.Privmsg):
record = self.Record(at=at, by=by, text=text, **kwargs)
return super(self.__class__, self).add(record)
def __init__(self):
def __init__(self, irc):
self.__parent = super(ChannelIdDatabasePlugin, self)
self.__parent.__init__()
self.__parent.__init__(irc)
self.db = DB(self.name(), {'flat': self.DB})()
def die(self):