3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-12-24 03:33:10 +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:
James Lu 2020-03-16 19:06:44 -07:00
parent b4d7883a71
commit 8ffd787075

View File

@ -37,7 +37,7 @@ def g(irc, source, args):
skip = False
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)
skip = True
break