diff --git a/ezmlm-web/trunk/ezmlm-web.cgi b/ezmlm-web/trunk/ezmlm-web.cgi
index aeea6b0..5fda9a8 100755
--- a/ezmlm-web/trunk/ezmlm-web.cgi
+++ b/ezmlm-web/trunk/ezmlm-web.cgi
@@ -294,7 +294,7 @@ sub select_list {
print '
', $LANGUAGE{'chooselistinfo'}, '
'; # explanation of options
print '';
- print '', $q->submit(-name=>'action', -value=>"[$BUTTON{'create'}]"), '' if ((&webauth_create_allowed == 0) || (!defined($opt_c)));
+ print '', $q->submit(-name=>'action', -value=>"[$BUTTON{'create'}]"), '' if (&webauth_create_allowed == 0);
print '', $q->submit(-name=>'action', -value=>"[$BUTTON{'edit'}]"), '' if(defined(@lists));
print '', $q->submit(-name=>'action', -value=>"[$BUTTON{'delete'}]"), '' if(defined(@lists));
print '
'; # end of main_buttons
@@ -1062,6 +1062,9 @@ sub webauth {
sub webauth_create_allowed {
+ # Check if we were called with the deprecated argument "-c" (allow to create lists)
+ return 0 if (defined($opt_c));
+
# Check if webusers file exists - if not, then access is granted
return 0 if (! -e "$WEBUSERS_FILE");