From 8b5b3736ad90358c4c4eb60aea429f5566553a85 Mon Sep 17 00:00:00 2001 From: Yorhel Date: Mon, 13 Dec 2010 21:38:32 +0100 Subject: Multi::IRC: Don't report new posts Discussion board is too active. -.-; --- ChangeLog | 1 + lib/Multi/IRC.pm | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index e8eb88ef..1db77dc3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -7,6 +7,7 @@ - Added advanced tag link browser - Removed specific tags-by-user listing - Disable "Don't update last modified field" by default for mods + - Make Multi not report posts - API: Allow extra whitespace after "get .." command - API: Allow non-numbers as "clientver" for the login command - API: Added "image_nsfw" member to "get vn" 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 -- cgit v1.2.3