From 7e1cd95f46475d0dd6747caf8ccc5c24493b5a96 Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Tue, 1 Mar 2011 14:49:47 +0100 Subject: [PATCH] MessageParser: fix missing configure() in config.py --- plugins/MessageParser/config.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/plugins/MessageParser/config.py b/plugins/MessageParser/config.py index a3f020d83..0e496aee5 100644 --- a/plugins/MessageParser/config.py +++ b/plugins/MessageParser/config.py @@ -41,6 +41,14 @@ except: _ = lambda x:x internationalizeDocstring = lambda x:x +def configure(advanced): + # This will be called by supybot to configure this module. advanced is + # a bool that specifies whether the user identified himself as an advanced + # user or not. You should effect your configuration by manipulating the + # registry as appropriate. + from supybot.questions import expect, anything, something, yn + conf.registerPlugin('MessageParser', True) + MessageParser = conf.registerPlugin('MessageParser') # This is where your configuration variables (if any) should go. For example: # conf.registerGlobalValue(MessageParser, 'someConfigVariableName',