Final fix to lol list pageing

Can someone tell me whether it's paging or pageing or both?
This commit is contained in:
PixelSergey
2016-05-31 17:52:56 +03:00
parent 5d00af8ced
commit f0f32abbfa

View File

@@ -77,6 +77,7 @@ def on_lol_command(sender, command, label, args):
return True
if int(arg1) == 0:
msg(sender, "&cPage 0 does not exist")
return True
arg1 = int(arg1) - 1
offset = list_limit * arg1
if offset > len(lols):