From 1cbb213706560d74859fe0756bae59f06d2cedd0 Mon Sep 17 00:00:00 2001 From: Master Kwoth Date: Mon, 4 Jul 2016 09:59:26 +0200 Subject: [PATCH] fixed $lb --- NadekoBot/Classes/DBHandler.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NadekoBot/Classes/DBHandler.cs b/NadekoBot/Classes/DBHandler.cs index e7d3d838..9fb664f9 100644 --- a/NadekoBot/Classes/DBHandler.cs +++ b/NadekoBot/Classes/DBHandler.cs @@ -198,7 +198,7 @@ Limit 20 OFFSET ?", num * 20); { using (var conn = new SQLiteConnection(FilePath)) { - return conn.Table().OrderBy(cs => -cs.Value).Take(n).ToList(); + return conn.Table().OrderByDescending(cs => cs.Value).Take(n).ToList(); } } }