mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-24 02:54:05 +01:00
ircutils: fix Python 2.6 compatibility
This commit is contained in:
parent
d74e3148b4
commit
8b37e23594
@ -434,7 +434,7 @@ def formatWhois(irc, replies, caller='', channel='', command='whois'):
|
||||
continue
|
||||
# Skip +s/+p channels the target is in only if the reply isn't
|
||||
# being sent to that channel.
|
||||
if {'s', 'p'} & set(chanState.modes.keys()) and \
|
||||
if set(('p', 's')) & set(chanState.modes.keys()) and \
|
||||
not strEqual(channel or '', chan):
|
||||
continue
|
||||
if not modes:
|
||||
|
Loading…
Reference in New Issue
Block a user