diff options
-rw-r--r-- | bugzilla.rb | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/bugzilla.rb b/bugzilla.rb index 48e89ad..cfce82f 100644 --- a/bugzilla.rb +++ b/bugzilla.rb @@ -863,8 +863,10 @@ plugin.map 'zilla instance show :zilla :full', plugin.map 'zilla default set :channel :zilla :eavesdrop', :action => 'channel_defaults_set', :requirements => { - :channel => /^[^\/][^ ]+[^\/]$|^\/#[^ ]+\/$/, - :zilla => /^[^ ]+$/ + #:channel => /^[^\/][^ ]+[^\/]$|^\/#[^ ]+\/$/, + :channel => /^[^ ]+$/, + :zilla => /^[^ ]+$/, + :eavesdrop => /^(?:on|off)$/, }, :defaults => { :eavesdrop => "off" }, :auth_path => 'modify' @@ -872,7 +874,7 @@ plugin.map 'zilla default set :channel :zilla :eavesdrop', plugin.map 'zilla default unset :channel', :action => 'channel_defaults_unset', :requirements => { - :channel => /^[^\/][^ ]+[^\/]$|^\/#[^ ]+\/$/, + #:channel => /^[^\/][^ ]+[^\/]$|^\/#[^ ]+\/$/, }, :auth_path => 'modify' |