Skip to content

Commit 2f684f2

Browse files
committed
Merge branch 'development'
2 parents 23d7024 + cbdf3e4 commit 2f684f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/greenieboard/commands.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ def format_landing(landing: dict) -> str:
190190
name = user.display_name
191191
else:
192192
name = user
193-
num_landings = max(self.get_config().get('num_landings', 25), 25)
193+
num_landings = min(self.get_config().get('num_landings', 25), 25)
194194
async with self.apool.connection() as conn:
195195
async with conn.cursor(row_factory=dict_row) as cursor:
196196
await cursor.execute("""

0 commit comments

Comments
 (0)