Commit abc3e721 authored by Simon Welsh's avatar Simon Welsh

More browsers/engines

git-svn-id: svn+ssh://lsgn/var/logbot-www@73 5f99df0c-6b0a-442a-b40a-040688e84a9d
parent 1a62fa9f
......@@ -117,6 +117,13 @@ function build_stats(Redis $r) {
'Bastard',
'Firefox',
'Chrome',
'Safari',
'Opera',
'Gecko',
'WebKit',
'Trident',
'Blink',
'Presto',
];
$query = 'SELECT COUNT(*) AS "Number", "Nick" FROM "Log" WHERE "Text" ILIKE \'%%%s%%\' GROUP BY "Nick" HAVING COUNT(*) >= 10 ORDER BY "Number" DESC;';
foreach($swears as $name) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment