If we're never normal, we shouldn't try to say we are.

This commit is contained in:
James Vega 2004-09-10 07:17:53 +00:00
parent 76056e35e4
commit 56cf248302

View File

@ -348,10 +348,11 @@ class Relay(callbacks.Privmsg):
L.append('is a halfop on %s' % utils.commaAndify(halfops))
if voices:
L.append('is voiced on %s' % utils.commaAndify(voices))
if L:
L.append('is also on %s' % utils.commaAndify(normal))
else:
L.append('is on %s' % utils.commaAndify(normal))
if normal:
if L:
L.append('is also on %s' % utils.commaAndify(normal))
else:
L.append('is on %s' % utils.commaAndify(normal))
else:
L = ['isn\'t on any non-secret channels']
channels = utils.commaAndify(L)