diff options
| author | dumpfmprod <dumpfmprod@ubuntu.(none)> | 2010-03-21 03:16:21 -0400 |
|---|---|---|
| committer | dumpfmprod <dumpfmprod@ubuntu.(none)> | 2010-03-21 03:16:21 -0400 |
| commit | d7da74158b8da25ce47088679b25aafbc4620ccf (patch) | |
| tree | 763bc33a08c39c38d8c2565a2ede40af7c7457f3 /src | |
| parent | 965990ff4018cf476f83adb308d54a9d85afaa4c (diff) | |
| parent | 5a94d94fef2748cc6d22cebbcd0b1eb85d0b7798 (diff) | |
timb committing ryder's changes
Diffstat (limited to 'src')
| -rwxr-xr-x | src/site.clj | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/site.clj b/src/site.clj index 39509a9..b6d0ee9 100755 --- a/src/site.clj +++ b/src/site.clj @@ -188,7 +188,7 @@ (defn fetch-messages-by-nick ([nick image-only] (fetch-messages-by-nick nick image-only 0)) ([nick image-only offset] - (let [query (str "SELECT m.content, m.created_on, m.message_id, u.nick, u.avatar + (let [query (str "SELECT m.content, m.created_on, m.message_id, u.nick, u.avatar, r.key FROM messages m, users u, rooms r WHERE m.user_id = u.user_id AND u.nick = ? AND r.room_id = m.room_id AND r.admin_only = false " |
