diff --git a/Frotz/config.py b/Frotz/config.py index 951ab95..06522f4 100644 --- a/Frotz/config.py +++ b/Frotz/config.py @@ -23,8 +23,13 @@ def configure(advanced): # registry as appropriate. from supybot.questions import expect, anything, something, yn conf.registerPlugin('Frotz', True) - + Frotz = conf.registerPlugin('Frotz') conf.registerGlobalValue(Frotz, 'dfrotzPath', registry.String('/usr/local/bin/dfrotz', _("""The path to the dfrotz executable."""))) + +conf.registerGlobalValue(Frotz, 'allowPrivate', + registry.Boolean('True', _("""Allow games to be played over private message."""))) + +Frotz = conf.registerPlugin('Frotz')