Generalized the command names.

This commit is contained in:
Jeremy Fincher 2003-10-21 07:26:06 +00:00
parent cc41299e10
commit ec626896d3

View File

@ -56,7 +56,7 @@ def configure(onStart, afterConnect, advanced):
if yn('Is your NickServ named something other than NickServ?') == 'y': if yn('Is your NickServ named something other than NickServ?') == 'y':
nickserv = anything('What is your NickServ named?') nickserv = anything('What is your NickServ named?')
onStart.append('load Services') onStart.append('load Services')
onStart.append('startservices %s %s %s %s' % \ onStart.append('services start %s %s %s %s' % \
(nick, password, nickserv, chanserv)) (nick, password, nickserv, chanserv))
class Services(privmsgs.CapabilityCheckingPrivmsg): class Services(privmsgs.CapabilityCheckingPrivmsg):
@ -65,7 +65,7 @@ class Services(privmsgs.CapabilityCheckingPrivmsg):
callbacks.Privmsg.__init__(self) callbacks.Privmsg.__init__(self)
self.nickserv = '' self.nickserv = ''
def startservices(self, irc, msg, args): def start(self, irc, msg, args):
"""<nick> <password> [<nickserv> <chanserv>] """<nick> <password> [<nickserv> <chanserv>]
Sets the necessary values for the services plugin to work. <nick> Sets the necessary values for the services plugin to work. <nick>