mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-28 13:42:36 +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
|
||||
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):
|
||||
if self.nickserv:
|
||||
if msg.nick == self.nickserv:
|
||||
|
Loading…
Reference in New Issue
Block a user