summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2010-12-13 21:38:32 +0100
committerYorhel <git@yorhel.nl>2010-12-13 21:38:32 +0100
commit8b5b3736ad90358c4c4eb60aea429f5566553a85 (patch)
tree31b8cde5cf1b5b5e743c7c57ba0ded4e8c2c701f /lib
parentbe12a878193f3342464728f1a9cde5d205991e6c (diff)
Multi::IRC: Don't report new posts
Discussion board is too active. -.-;
Diffstat (limited to 'lib')
-rw-r--r--lib/Multi/IRC.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Multi/IRC.pm b/lib/Multi/IRC.pm
index d2fa1757..22e4021b 100644
--- a/lib/Multi/IRC.pm
+++ b/lib/Multi/IRC.pm
@@ -291,7 +291,7 @@ sub notify { # name, pid, payload
FROM threads_posts tp
JOIN threads t ON t.id = tp.tid
JOIN users u ON u.id = tp.uid
- WHERE tp.date > ?
+ WHERE tp.date > ? AND tp.num = 1
ORDER BY tp.date|
: q|SELECT
'g' AS type, t.id, t.name AS title, u.username, t.id AS lasttag