mirror of
https://github.com/jlu5/PyLink.git
synced 2025-01-12 13:12:36 +01:00
global: call match_text() on the target network object
Technically this will only make a difference if a server object overrides match_text(), but this is the more correct solution.
This commit is contained in:
parent
b4d7883a71
commit
8ffd787075
@ -37,7 +37,7 @@ def g(irc, source, args):
|
|||||||
|
|
||||||
skip = False
|
skip = False
|
||||||
for exempt in local_exempt_channels:
|
for exempt in local_exempt_channels:
|
||||||
if irc.match_text(exempt, channel):
|
if ircd.match_text(exempt, channel):
|
||||||
log.debug('global: Skipping channel %s%s for exempt %r', netname, channel, exempt)
|
log.debug('global: Skipping channel %s%s for exempt %r', netname, channel, exempt)
|
||||||
skip = True
|
skip = True
|
||||||
break
|
break
|
||||||
|
Loading…
Reference in New Issue
Block a user