From 37d0bb456ec6a9c0d85332cdadd1d05c920f351f Mon Sep 17 00:00:00 2001 From: Daniel DiPaolo Date: Wed, 2 Feb 2005 07:00:47 +0000 Subject: [PATCH] Fix plugins.ChannelIdDatabasePlugin's __init__ to accept an Irc now, like it should --- plugins/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/__init__.py b/plugins/__init__.py index 5f85d6b5d..133f2b206 100644 --- a/plugins/__init__.py +++ b/plugins/__init__.py @@ -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):