commit 97e371bce0732b81e405b086267a73670b9f24dd
parent 0c00e1902839472f2ba3fbc0937e137d9ddb18d6
Author: uriel@engel.se.cat-v.org <unknown>
Date: Sun, 21 Dec 2008 09:47:08 +0100
Only call select_apps if enabled_apps is not null.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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