mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-22 18:14:41 +01:00
plugins/Services: Recognize Freenode's response when trying to identify with an unregistered nick.
This commit is contained in:
parent
fdc9c914b2
commit
177f373369
@ -259,6 +259,9 @@ class Services(callbacks.Plugin):
|
||||
self.sentGhost = False
|
||||
self.identified = False
|
||||
irc.queueMsg(ircmsgs.nick(nick))
|
||||
elif 'is not registered' in s:
|
||||
self.log.info('Received "Nick not registered" from NickServ %s.',
|
||||
on)
|
||||
elif 'currently' in s and 'isn\'t' in s or 'is not' in s:
|
||||
# The nick isn't online, let's change our nick to it.
|
||||
self.sentGhost = False
|
||||
|
Loading…
Reference in New Issue
Block a user