ubuntu-bots/LpLogin/config.py

21 lines
552 B
Python
Raw Normal View History

2007-02-15 22:16:44 +00:00
###
# Copyright (c) 2007, Dennis Kaarsemaker
# All rights reserved.
#
#
###
import supybot.conf as conf
import supybot.registry as registry
def configure(advanced):
from supybot.questions import expect, anything, something, yn
conf.registerPlugin('LpLogin', True)
LpLogin = conf.registerPlugin('LpLogin')
conf.registerGlobalValue(LpLogin, 'UserList',
registry.String('', """Filename of file with list of users"""))
conf.registerGlobalValue(LpLogin, 'DeleteUnknowns',
registry.Boolean(True, """Unregister people not in the list"""))