summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPixelSergey <sergey.ichtchenko@gmail.com>2016-05-31 17:52:56 +0300
committerPixelSergey <sergey.ichtchenko@gmail.com>2016-05-31 17:52:56 +0300
commitf0f32abbfa5cf0c3c710e5816785fd742587b5ab (patch)
tree388d967ffed2ec6065bdc91792ae8c914daa6215
parent5d00af8cedae09b66a0569e03635a04b0b188a1e (diff)
Final fix to lol list pageing
Can someone tell me whether it's paging or pageing or both?
-rw-r--r--saylol.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/saylol.py b/saylol.py
index 3fe2fe5..b9f0ccb 100644
--- a/saylol.py
+++ b/saylol.py
@@ -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):