From 9b23baa7fb0add9463e0a7bd19cec2c1f8617be0 Mon Sep 17 00:00:00 2001 From: Matthew Vernon Date: Thu, 2 Jan 2014 10:42:51 +0000 Subject: [PATCH] Only allow the bad.posters, watch.words, and good.posters lists to be edited. This is part of the process of simplifying the UI for the ulm mods --- webstump/scripts/webstump.lib.pl | 5 ----- 1 file changed, 5 deletions(-) diff --git a/webstump/scripts/webstump.lib.pl b/webstump/scripts/webstump.lib.pl index 9b7fc79..5bd575f 100644 --- a/webstump/scripts/webstump.lib.pl +++ b/webstump/scripts/webstump.lib.pl @@ -397,12 +397,7 @@ sub check_config_list { &user_error( "invalid list name $list_to_edit" ) if( $list_to_edit ne "good.posters.list" - && $list_to_edit ne "watch.posters.list" && $list_to_edit ne "bad.posters.list" - && $list_to_edit ne "good.subjects.list" - && $list_to_edit ne "watch.subjects.list" - && $list_to_edit ne "bad.subjects.list" - && $list_to_edit ne "bad.words.list" && $list_to_edit ne "watch.words.list" ); return &untaint( $list_to_edit ); -- 2.30.2