mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-24 11:04: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
|
continue
|
||||||
# Skip +s/+p channels the target is in only if the reply isn't
|
# Skip +s/+p channels the target is in only if the reply isn't
|
||||||
# being sent to that channel.
|
# 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):
|
not strEqual(channel or '', chan):
|
||||||
continue
|
continue
|
||||||
if not modes:
|
if not modes:
|
||||||
|
Loading…
Reference in New Issue
Block a user