mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 19:19:32 +01:00
Fix for recent discovery that some misconfigured servers will send 422 instead of 376.
This commit is contained in:
parent
d013623e27
commit
bc5ec5d0f0
@ -151,6 +151,8 @@ class Relay(callbacks.Privmsg):
|
|||||||
def do376(self, irc, msg):
|
def do376(self, irc, msg):
|
||||||
if self.channels:
|
if self.channels:
|
||||||
irc.queueMsg(ircmsgs.joins(self.channels))
|
irc.queueMsg(ircmsgs.joins(self.channels))
|
||||||
|
do377 = do376
|
||||||
|
do422 = do376
|
||||||
|
|
||||||
def startrelay(self, irc, msg, args):
|
def startrelay(self, irc, msg, args):
|
||||||
"""<network abbreviation for current server>
|
"""<network abbreviation for current server>
|
||||||
|
@ -94,6 +94,7 @@ class Services(privmsgs.CapabilityCheckingPrivmsg):
|
|||||||
# JOIN messages also being sent on 376.
|
# JOIN messages also being sent on 376.
|
||||||
irc.sendMsg(ircmsgs.privmsg(self.nickserv, identify))
|
irc.sendMsg(ircmsgs.privmsg(self.nickserv, identify))
|
||||||
do377 = do376
|
do377 = do376
|
||||||
|
do422 = do376
|
||||||
|
|
||||||
_owned = re.compile('nick.*(?<!not)(?:registered|protected|owned)')
|
_owned = re.compile('nick.*(?<!not)(?:registered|protected|owned)')
|
||||||
def doNotice(self, irc, msg):
|
def doNotice(self, irc, msg):
|
||||||
|
Loading…
Reference in New Issue
Block a user