mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-01 01:09:22 +01:00
global: always coerse channel argument to str
These can be type int as of v3.0, e.g. in pylink-discord
This commit is contained in:
parent
a19f257bd8
commit
a143d98ac1
@ -37,7 +37,7 @@ def g(irc, source, args):
|
||||
|
||||
skip = False
|
||||
for exempt in local_exempt_channels:
|
||||
if ircd.match_text(exempt, channel):
|
||||
if ircd.match_text(exempt, str(channel)):
|
||||
log.debug('global: Skipping channel %s%s for exempt %r', netname, channel, exempt)
|
||||
skip = True
|
||||
break
|
||||
|
Loading…
Reference in New Issue
Block a user