aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2008-06-04 07:17:24 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2008-06-04 07:17:24 +0000
commit7f836329d57bb6e7aa3b0745064fe07e27965df5 (patch)
treee75b9c40cf1485f29d7501bfef5776c0cc4cfda0
parentBad backtrace output bit. (diff)
downloadrbot-bugzilla-7f836329d57bb6e7aa3b0745064fe07e27965df5.tar.gz
rbot-bugzilla-7f836329d57bb6e7aa3b0745064fe07e27965df5.tar.bz2
rbot-bugzilla-7f836329d57bb6e7aa3b0745064fe07e27965df5.zip
Fix defaults list.
-rw-r--r--bugzilla.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/bugzilla.rb b/bugzilla.rb
index e91aa5c..cb7679a 100644
--- a/bugzilla.rb
+++ b/bugzilla.rb
@@ -632,8 +632,7 @@ class BugzillaPlugin < Plugin
# Display the list of channels/users for which we have defaults
def channel_defaults_list(m, params)
begin
- m.reply 'Inside channel_defaults_list'
- @defaults.each_key { |k| m.reply k }
+ m.reply @registry["channel_defaults"].keys.join(', ')
rescue ::Exception => e
m.reply e.message
end