mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-11 20:52:42 +01:00
Fix for configure bug.
This commit is contained in:
parent
949f744ba9
commit
2c8dee38c2
@ -50,8 +50,15 @@ def configure(onStart, afterConnect, advanced):
|
|||||||
from questions import expect, anything, something, yn
|
from questions import expect, anything, something, yn
|
||||||
nick = anything('What is your registered nick?')
|
nick = anything('What is your registered nick?')
|
||||||
password = anything('What is your password for that nick?')
|
password = anything('What is your password for that nick?')
|
||||||
|
chanserv = 'ChanServ'
|
||||||
|
if yn('Is your ChanServ named something other than ChanServ?') == 'y':
|
||||||
|
chanserv = anything('What is your ChanServ named?')
|
||||||
|
nickserv = 'NickServ'
|
||||||
|
if yn('Is your NickServ named something other than NickServ?') == 'y':
|
||||||
|
nickserv = anything('What is your NickServ named?')
|
||||||
onStart.append('load Services')
|
onStart.append('load Services')
|
||||||
onStart.append('startnickserv %s %s' % (nick, password))
|
onStart.append('startservices %s %s %s %s' % \
|
||||||
|
(nick, password, nickserv, chanserv))
|
||||||
|
|
||||||
class Services(privmsgs.CapabilityCheckingPrivmsg):
|
class Services(privmsgs.CapabilityCheckingPrivmsg):
|
||||||
capability = 'admin'
|
capability = 'admin'
|
||||||
|
Loading…
Reference in New Issue
Block a user