diff --git a/lib/utils/db/stats.pm b/lib/utils/db/stats.pm index e4b66814055b5154578ed5aa6bfd3cf0e509e76f..59e9cada7b6532330364747e095ade66e65907e3 100644 --- a/lib/utils/db/stats.pm +++ b/lib/utils/db/stats.pm @@ -31,7 +31,7 @@ around 'BUILDARGS' => sub { select date, chan, sender_irc from playbot_chan - where content = ? + where content = ? and chan like \'#%\' order by date ');