Fixed variable being compared against wrong type
This commit is contained in:
parent
803ec93faa
commit
0804bf16eb
1 changed files with 1 additions and 1 deletions
2
irc.py
2
irc.py
|
@ -540,7 +540,7 @@ class PesterHandler(DefaultCommandHandler):
|
|||
for (i,m) in enumerate(modes):
|
||||
|
||||
# Server-set usermodes don't need to be passed.
|
||||
if (handles == "") & ( ('x' in m) | ('z' in m) | ('o' in m) | ('x' in m) )!=True:
|
||||
if (handles == ['']) & ( ('x' in m) | ('z' in m) | ('o' in m) | ('x' in m) )!=True:
|
||||
try:
|
||||
self.parent.userPresentUpdate.emit(handles[i], channel, m+":%s" % (op))
|
||||
except:
|
||||
|
|
Loading…
Reference in a new issue