diff options
author | Matthias Benkard <code@mail.matthias.benkard.de> | 2009-11-06 13:52:52 +0100 |
---|---|---|
committer | Matthias Benkard <code@mail.matthias.benkard.de> | 2009-11-06 13:52:52 +0100 |
commit | 36aa75be02ff29571830d9f529cd4515bfeebbab (patch) | |
tree | dc797b486de0e2055ebf64435e352f651705c783 /main.lisp | |
parent | 0423744021fe099ce4f29d98de5f4f119df34cfa (diff) |
Support pingbacks.
Ignore-this: 534fc0ed2f9e22c9b6a92cde14bedf2f
darcs-hash:d70c51f9d5d9002dab339dd6ceb79fef2cd89f27
Diffstat (limited to 'main.lisp')
-rw-r--r-- | main.lisp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -153,8 +153,8 @@ (:moderate (let* ((id (getf *query* :id nil)) (type (getf *query* :type nil)) (acceptp (getf *query* :acceptp nil)) - (table (if (string= type "trackback") - 'journal_trackback + (table (cond ((string= type "trackback") 'journal_trackback) + ((string= type "pingback") 'journal_pingback) 'journal_comment))) (with-transaction () (when (and id type acceptp (string= acceptp "t")) |