From: Matthew Vernon Date: Thu, 2 Jan 2014 10:42:51 +0000 (+0000) Subject: Only allow the bad.posters, watch.words, and good.posters lists to be X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~webstump/git?a=commitdiff_plain;h=9b23baa7fb0add9463e0a7bd19cec2c1f8617be0;p=modbot-uram.git 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 --- 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 );