Network: Keep the trailing # to channels, even if the user is voiced/halfoped/oped/whatever on it.

This commit is contained in:
Valentin Lorentz 2011-10-29 19:43:53 +02:00
parent 8b616d2f59
commit 69fe2e0562
2 changed files with 4 additions and 4 deletions

View File

@ -200,11 +200,11 @@ class Network(callbacks.Plugin):
if not modes:
normal.append(channel)
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, ('%',)):
halfops.append(channel[1:])
halfops.append(channel)
elif utils.iter.any(lambda c: c in modes, ('+',)):
voices.append(channel[1:])
voices.append(channel)
L = []
if ops:
L.append(format(_('is an op on %L'), ops))

View File

@ -1,3 +1,3 @@
"""stick the various versioning attributes in here, so we only have to change
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)'