mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 05:09:23 +01:00
Network: Keep the trailing # to channels, even if the user is voiced/halfoped/oped/whatever on it.
This commit is contained in:
parent
8b616d2f59
commit
69fe2e0562
@ -200,11 +200,11 @@ class Network(callbacks.Plugin):
|
|||||||
if not modes:
|
if not modes:
|
||||||
normal.append(channel)
|
normal.append(channel)
|
||||||
elif utils.iter.any(lambda c: c in modes,('@', '&', '~', '!')):
|
elif utils.iter.any(lambda c: c in modes,('@', '&', '~', '!')):
|
||||||
ops.append(channel[1:])
|
ops.append(channel)
|
||||||
elif utils.iter.any(lambda c: c in modes, ('%',)):
|
elif utils.iter.any(lambda c: c in modes, ('%',)):
|
||||||
halfops.append(channel[1:])
|
halfops.append(channel)
|
||||||
elif utils.iter.any(lambda c: c in modes, ('+',)):
|
elif utils.iter.any(lambda c: c in modes, ('+',)):
|
||||||
voices.append(channel[1:])
|
voices.append(channel)
|
||||||
L = []
|
L = []
|
||||||
if ops:
|
if ops:
|
||||||
L.append(format(_('is an op on %L'), ops))
|
L.append(format(_('is an op on %L'), ops))
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
"""stick the various versioning attributes in here, so we only have to change
|
"""stick the various versioning attributes in here, so we only have to change
|
||||||
them once."""
|
them once."""
|
||||||
version = '0.83.4.1+limnoria (2011-10-29T17:10:58+0200)'
|
version = '0.83.4.1+limnoria (2011-10-29T19:43:53+0200)'
|
||||||
|
Loading…
Reference in New Issue
Block a user