summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Ostler <scottbot9000@gmail.com>2010-08-29 23:53:58 -0400
committerScott Ostler <scottbot9000@gmail.com>2010-08-29 23:53:58 -0400
commit87da9d9a280509bdf5821ad1888630ee079fb479 (patch)
treeea15ca1a9e1459814d8d8832ffffbe00fe0fd2dd
parenta9f64e6056510660792e271c19f9aa90f14b67ac (diff)
Add check for tag type in fetch-tagged-dumps
-rw-r--r--src/tags.clj1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tags.clj b/src/tags.clj
index 3077b2a..d21531a 100644
--- a/src/tags.clj
+++ b/src/tags.clj
@@ -210,6 +210,7 @@ WHERE EXISTS
:from ["tags t, messages m, rooms r, users u"]
:where [[(str "t.user_id = " select-user-id) nick]
"t.message_id = m.message_id"
+ ["t.tag = ?" tag]
"m.user_id = u.user_id"
"m.room_id = r.room_id"
(if hide-vip "r.admin_only = false")