From 32fed0191656f81e99bbe06505f583a55f14a12a Mon Sep 17 00:00:00 2001 From: Uriel Date: Sun, 21 Dec 2008 09:47:08 +0100 Subject: [PATCH] Only call select_apps if enabled_apps is not null. --- bin/werc.rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/werc.rc b/bin/werc.rc index 33645b0..a09aa5e 100755 --- a/bin/werc.rc +++ b/bin/werc.rc @@ -195,7 +195,7 @@ fn select_handler { 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