shithub: werc

Download patch

ref: 70ed9a4511f517d62976d53d0e5a54dfc73f8259
parent: f9707f3280943a550f8e9686b74866d0e7a6a9d2
author: uriel <[email protected]>
date: Sun Dec 21 04:47:08 EST 2008

Only call select_apps if enabled_apps is not null.

--- a/bin/werc.rc
+++ b/bin/werc.rc
@@ -195,7 +195,7 @@
         set_handler dir_listing_handler $body
 
     # Apps
-    if not if(select_apps)
+    if not if(! ~ $#enabled_apps 0 && select_apps)
         set_handler app_handler
 
     # File not found