Fix !roles for real
Submitted by: dwfreed
This commit is contained in:
parent
e7685135ff
commit
8c3544d44a
@ -2709,8 +2709,8 @@ def listroles(cli, nick, chan, rest):
|
||||
|
||||
txt = ""
|
||||
|
||||
pl = len(var.ORIGINAL_ROLES)
|
||||
if pl > 1:
|
||||
pl = len(var.list_players()) + len(var.DEAD)
|
||||
if pl > 0:
|
||||
txt += '{0}: There are \u0002{1}\u0002 playing. '.format(nick, pl)
|
||||
|
||||
for i,v in sorted({i:var.ROLES_GUIDE[i] for i in var.ROLES_GUIDE if i is not None}.items()):
|
||||
|
Loading…
x
Reference in New Issue
Block a user