Archived
Final fix to lol list pageing
Can someone tell me whether it's paging or pageing or both?
This commit is contained in:
@@ -77,6 +77,7 @@ def on_lol_command(sender, command, label, args):
|
|||||||
return True
|
return True
|
||||||
if int(arg1) == 0:
|
if int(arg1) == 0:
|
||||||
msg(sender, "&cPage 0 does not exist")
|
msg(sender, "&cPage 0 does not exist")
|
||||||
|
return True
|
||||||
arg1 = int(arg1) - 1
|
arg1 = int(arg1) - 1
|
||||||
offset = list_limit * arg1
|
offset = list_limit * arg1
|
||||||
if offset > len(lols):
|
if offset > len(lols):
|
||||||
|
|||||||
Reference in New Issue
Block a user