shithub: werc

Download patch

ref: d88ddc9100732c695926ad0a4c6cdb1c525e69e0
parent: e29762e8ad8ce743af95069452b08182c64a0f0e
author: uriel <uriel@engel.se.cat-v.org>
date: Sat Jan 17 04:42:24 EST 2009

Remove unused/debug code and rename comment var enable_comments

--- a/apps/bridge/app.rc
+++ b/apps/bridge/app.rc
@@ -1,5 +1,5 @@
 fn bridge_init {
-    if(! ~ $#allowComments 0) {
+    if(! ~ $#enable_comments 0) {
         ll_add handlers_body_foot bridge_body_foot 
         if(get_post_args comment_text) {
             dprint POST COMMNET $"comment_text
@@ -23,8 +23,6 @@
             echo $u > $d/user
             echo $comment_text > $d/body
         }
-        if not
-            dprint SSS $status
     }
 
 }