mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 05:09:23 +01:00
formatWhois: Fix channel names having the # cut off
This commit is contained in:
parent
c651bc5482
commit
5190db39a4
@ -440,11 +440,11 @@ def formatWhois(irc, replies, caller='', channel='', command='whois'):
|
||||
if not modes:
|
||||
normal.append(chan)
|
||||
elif utils.iter.any(lambda c: c in modes,('@', '&', '~', '!')):
|
||||
ops.append(chan[1:])
|
||||
ops.append(chan)
|
||||
elif utils.iter.any(lambda c: c in modes, ('%',)):
|
||||
halfops.append(chan[1:])
|
||||
halfops.append(chan)
|
||||
elif utils.iter.any(lambda c: c in modes, ('+',)):
|
||||
voices.append(chan[1:])
|
||||
voices.append(chan)
|
||||
L = []
|
||||
if ops:
|
||||
L.append(format(_('is an op on %L'), ops))
|
||||
|
Loading…
Reference in New Issue
Block a user