Commit f5bf9535 authored by Simon Welsh's avatar Simon Welsh

ffs and wtf

git-svn-id: svn+ssh://lsgn/var/logbot-www@74 5f99df0c-6b0a-442a-b40a-040688e84a9d
parent abc3e721
......@@ -124,6 +124,8 @@ function build_stats(Redis $r) {
'Trident',
'Blink',
'Presto',
'ffs',
'wtf',
];
$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