diff --git a/plugins/Factoids/plugin.py b/plugins/Factoids/plugin.py index 17f6a34f6..44857be0d 100644 --- a/plugins/Factoids/plugin.py +++ b/plugins/Factoids/plugin.py @@ -73,6 +73,10 @@ addConverter('factoid', getFactoid) addConverter('factoidId', getFactoidId) class Factoids(callbacks.Plugin, plugins.ChannelDBHandler): + def __init__(self, irc): + callbacks.Plugin.__init__(self, irc) + plugins.ChannelDBHandler.__init__(self) + def makeDb(self, filename): if os.path.exists(filename): return sqlite.connect(filename)