aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2008-06-06 20:29:08 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2008-06-06 20:29:08 +0000
commit23f4e73e17b695512b7834ba8c09b095ccfe10a0 (patch)
treecfab357aa890561d823f865b2f518b7485bd9986
parentMore TOOD. (diff)
downloadrbot-bugzilla-23f4e73e17b695512b7834ba8c09b095ccfe10a0.tar.gz
rbot-bugzilla-23f4e73e17b695512b7834ba8c09b095ccfe10a0.tar.bz2
rbot-bugzilla-23f4e73e17b695512b7834ba8c09b095ccfe10a0.zip
Use existing regex instead of duplicating.
-rw-r--r--bugzilla.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/bugzilla.rb b/bugzilla.rb
index f78be36..939098e 100644
--- a/bugzilla.rb
+++ b/bugzilla.rb
@@ -1009,7 +1009,7 @@ plugin.map 'zilla instance set :zilla :setting :value',
:action => 'instance_set',
:requirements => {
:zilla => /^[^\. ]+$/,
- :setting => /^(baseurl|dataurl|showbugurl|reporturl)$/
+ :setting => OPTIONS_INPUT_1
},
:auth_path => 'modify'