94fe7fb5 by Barry

Bug fix for gameslist to handle default of 20.

1 parent 8a0fe261
...@@ -345,7 +345,7 @@ Stuff: ...@@ -345,7 +345,7 @@ Stuff:
345 else: 345 else:
346 parts = message.content.split(' ') 346 parts = message.content.split(' ')
347 limit = 20 347 limit = 20
348 if parts[1].isdigit(): 348 if len(parts) > 1 and parts[1].isdigit():
349 limit = int(parts[1]) 349 limit = int(parts[1])
350 350
351 game_list = [] 351 game_list = []
......