mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-18 22:51:01 +01:00
Fixed bug in identification/doNotice code that would cause an infinite loop if the stupid services on the stupid (coughoftccough) network use a contraction.
This commit is contained in:
parent
533b6aed81
commit
77393f83ad
@ -102,7 +102,7 @@ class Services(privmsgs.CapabilityCheckingPrivmsg):
|
|||||||
do377 = do376
|
do377 = do376
|
||||||
do422 = do376
|
do422 = do376
|
||||||
|
|
||||||
_owned = re.compile('nick.*(?<!not)(?:registered|protected|owned)')
|
_owned = re.compile(r'nick.*(?<!n[\'o]t)\s*(?:registered|protected|owned)')
|
||||||
def doNotice(self, irc, msg):
|
def doNotice(self, irc, msg):
|
||||||
if self.nickserv:
|
if self.nickserv:
|
||||||
if msg.nick == self.nickserv:
|
if msg.nick == self.nickserv:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user