aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2008-06-06 03:13:27 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2008-06-06 03:13:27 +0000
commit77e55633485d96f4b8b519c4d9d4cba4d36e96ee (patch)
treea28b1f56b34abc4a1bceea589c588eec34909134
parentMassive fixup of archstats to work in almost all input cases by being smarter... (diff)
downloadrbot-bugzilla-77e55633485d96f4b8b519c4d9d4cba4d36e96ee.tar.gz
rbot-bugzilla-77e55633485d96f4b8b519c4d9d4cba4d36e96ee.tar.bz2
rbot-bugzilla-77e55633485d96f4b8b519c4d9d4cba4d36e96ee.zip
Use the right names for the map call, it helps a lot ;-).
-rw-r--r--bugzilla.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/bugzilla.rb b/bugzilla.rb
index ad14f3d..75e0b2f 100644
--- a/bugzilla.rb
+++ b/bugzilla.rb
@@ -877,17 +877,17 @@ plugin.map 'bug :zilla :number',
:auth_path => 'view'
plugin.map 'archstats :zilla :status :reso',
- :action => 'archstats',
:requirements => {
:status => STATUS_INPUT_N,
- :resolution => RESO_INPUT_N,
- :zilla => /^[^ ]+$/
+ :reso => RESO_INPUT_N,
+ :zilla => /^[^ ]+$/,
},
:defaults => {
:zilla => nil,
:status => nil,
- :resolution => nil,
+ :reso => nil,
},
+ :action => 'archstats',
:auth_path => 'view'
plugin.map 'zilla instance add :zilla :baseurl',