aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2008-06-06 03:04:59 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2008-06-06 03:04:59 +0000
commit29e5e7aa4a8f48bbb550016ce60f1c74a6a7e1ce (patch)
tree28882052612d4ca649abefa4dd3970c26e3fa142
parentMove global constants and add more for validation. (diff)
downloadrbot-bugzilla-29e5e7aa4a8f48bbb550016ce60f1c74a6a7e1ce.tar.gz
rbot-bugzilla-29e5e7aa4a8f48bbb550016ce60f1c74a6a7e1ce.tar.bz2
rbot-bugzilla-29e5e7aa4a8f48bbb550016ce60f1c74a6a7e1ce.zip
Use new validations.
-rw-r--r--bugzilla.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/bugzilla.rb b/bugzilla.rb
index dec329e..f39f7a9 100644
--- a/bugzilla.rb
+++ b/bugzilla.rb
@@ -837,11 +837,12 @@ plugin.map 'bug :zilla :number',
plugin.map 'archstats :zilla :status :reso',
:action => 'archstats',
:requirements => {
- :status => /^[\w,]+$/,
- :resolution => /^[\w,]+$/,
+ :status => STATUS_INPUT_N,
+ :resolution => RESO_INPUT_N,
:zilla => /^[^ ]+$/
},
:defaults => {
+ :zilla => nil,
:status => nil,
:resolution => nil,
},