mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-23 10:34:19 +01:00
Just an early start on the more complex stuff.
This commit is contained in:
parent
c432a93afb
commit
a551c32267
@ -70,6 +70,8 @@ class Services(privmsgs.CapabilityCheckingPrivmsg):
|
|||||||
|
|
||||||
def reset(self):
|
def reset(self):
|
||||||
self.got376 = False
|
self.got376 = False
|
||||||
|
self.sentGhost = False
|
||||||
|
self.identified = False
|
||||||
|
|
||||||
def start(self, irc, msg, args):
|
def start(self, irc, msg, args):
|
||||||
"""<nick> <password> [<nickserv> <chanserv>]
|
"""<nick> <password> [<nickserv> <chanserv>]
|
||||||
@ -160,8 +162,9 @@ class Services(privmsgs.CapabilityCheckingPrivmsg):
|
|||||||
self._doIdentify(irc)
|
self._doIdentify(irc)
|
||||||
else:
|
else:
|
||||||
irc.sendMsg(ircmsgs.nick(self.nick))
|
irc.sendMsg(ircmsgs.nick(self.nick))
|
||||||
elif msg.nick == self.nickserv:
|
elif 'now recognized' in s:
|
||||||
self.log.warning('Received NOTICE without plugin being started.')
|
self.log.info('Received "Password accepted" from NickServ')
|
||||||
|
self.identified = True
|
||||||
|
|
||||||
def getops(self, irc, msg, args):
|
def getops(self, irc, msg, args):
|
||||||
"""[<channel>]
|
"""[<channel>]
|
||||||
|
Loading…
Reference in New Issue
Block a user