mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 03:33:11 +01:00
Fix plugins.ChannelIdDatabasePlugin's __init__ to accept an Irc now, like it should
This commit is contained in:
parent
c7d91d3751
commit
37d0bb456e
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user