mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 19:19:32 +01:00
Fixed a documentation bug and changed startnickserv to startservices.
This commit is contained in:
parent
5ea31bb3df
commit
b0ccf44e2b
@ -59,9 +59,15 @@ class Services(privmsgs.CapabilityCheckingPrivmsg):
|
|||||||
callbacks.Privmsg.__init__(self)
|
callbacks.Privmsg.__init__(self)
|
||||||
self.nickserv = ''
|
self.nickserv = ''
|
||||||
|
|
||||||
def startnickserv(self, irc, msg, args):
|
def startservices(self, irc, msg, args):
|
||||||
"<bot's nick> <password> <NickServ's nick (defaults to NickServ)> " \
|
"""<nick> <password> [<nickserv> <chanserv>]
|
||||||
"<ChanServ's nick (defaults to ChanServ)"
|
|
||||||
|
Sets the necessary values for the services plugin to work. <nick>
|
||||||
|
is the nick the bot should use (it must be registered with nickserv).
|
||||||
|
<password> is the password the registered <nick> uses. The optional
|
||||||
|
arguments <nickserv> and <chanserv> are the names of the NickServ and
|
||||||
|
ChanServ, respectively, They default to NickServ and ChanServ.
|
||||||
|
"""
|
||||||
if ircutils.isChannel(msg.args[0]):
|
if ircutils.isChannel(msg.args[0]):
|
||||||
irc.error(msg, conf.replyRequiresPrivacy)
|
irc.error(msg, conf.replyRequiresPrivacy)
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user