2007-09-17 19:39:44 +00:00
|
|
|
###
|
2008-07-20 15:59:27 +00:00
|
|
|
# Copyright (c) 2008, Terence Simpson
|
2007-09-17 19:39:44 +00:00
|
|
|
#
|
|
|
|
# This program is free software; you can redistribute it and/or modify
|
|
|
|
# it under the terms of version 2 of the GNU General Public License as
|
|
|
|
# published by the Free Software Foundation.
|
|
|
|
#
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
|
|
|
#
|
|
|
|
###
|
|
|
|
|
|
|
|
import supybot.conf as conf
|
|
|
|
import supybot.registry as registry
|
|
|
|
|
|
|
|
def configure(advanced):
|
|
|
|
from supybot.questions import expect, anything, something, yn
|
2008-07-20 15:59:27 +00:00
|
|
|
conf.registerPlugin('IRCLogin', True)
|
2007-09-17 19:39:44 +00:00
|
|
|
|
2008-07-20 15:59:27 +00:00
|
|
|
IRCLogin = conf.registerPlugin('IRCLogin')
|
|
|
|
conf.registerGlobalValue(IRCLogin, 'UserList',
|
2007-09-17 19:39:44 +00:00
|
|
|
registry.String('', """Filename of file with list of users""",private=True))
|
2009-11-09 21:06:58 +00:00
|
|
|
conf.registerGlobalValue(IRCLogin, "teamname",
|
2009-11-04 03:50:49 +00:00
|
|
|
registry.String('ubuntu-irc', "Name of the Launchpad team to get users from", private=True))
|