fix !roles # to work as intended
This commit is contained in:
parent
5b62c5c3f6
commit
0246698b87
@ -7879,7 +7879,10 @@ def listroles(cli, nick, chan, rest):
|
||||
roleguide = [(role, roleguide[role]) for role in var.role_order()]
|
||||
for i, num in enumerate(roleindex):
|
||||
#getting the roles at a specific player count
|
||||
if index and num > index:
|
||||
if index:
|
||||
if num < index:
|
||||
continue
|
||||
if num > index:
|
||||
break
|
||||
msg.append("{0}[{1}]{0}".format("\u0002" if num <= lpl else "", str(num)))
|
||||
roles = []
|
||||
|
Loading…
x
Reference in New Issue
Block a user