diff options
author | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2012-08-18 16:29:03 +0200 |
---|---|---|
committer | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2012-08-18 16:29:03 +0200 |
commit | 202ef602aa8672c74619cd2db47dc3e1bab747a6 (patch) | |
tree | c51a312a2a2a63edb0b6ed24019d97934031042a /src | |
parent | d1c51370a79867089f002a0b61cc3c6eb0680d08 (diff) |
Lafargue: Fix semi-private posting.
Diffstat (limited to 'src')
-rw-r--r-- | src/mulk/benki/lazychat.clj | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mulk/benki/lazychat.clj b/src/mulk/benki/lazychat.clj index 5986264..2b0db68 100644 --- a/src/mulk/benki/lazychat.clj +++ b/src/mulk/benki/lazychat.clj @@ -69,13 +69,13 @@ ("public") (sql/do-prepared "INSERT INTO lazychat_targets - SELECT ?, role FROM role_tags WHERE tag = 'world'" + SELECT ?, role FROM role_tags WHERE tag = 'world'" [id]) ("protected") (sql/do-prepared "INSERT INTO lazychat_targets - SELECT ?, role FROM role_tags WHERE tag = 'inner_circle'" - [id]) + SELECT ?, target FROM user_default_target WHERE (\"user\" = ?)" + [id user]) ("private") (do)) (enqueue lafargue-events |