aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2008-06-04 07:20:23 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2008-06-04 07:20:23 +0000
commitb8a17e2bc9aaafc3ec95074aea9ecc38acf16b2e (patch)
tree9f6df1ef8fae0bcf7cee2767c96f4eb6f60801e1
parentFix defaults list. (diff)
downloadrbot-bugzilla-b8a17e2bc9aaafc3ec95074aea9ecc38acf16b2e.tar.gz
rbot-bugzilla-b8a17e2bc9aaafc3ec95074aea9ecc38acf16b2e.tar.bz2
rbot-bugzilla-b8a17e2bc9aaafc3ec95074aea9ecc38acf16b2e.zip
Fix defaults_show for now.
-rw-r--r--bugzilla.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/bugzilla.rb b/bugzilla.rb
index cb7679a..6bf00bd 100644
--- a/bugzilla.rb
+++ b/bugzilla.rb
@@ -641,8 +641,8 @@ class BugzillaPlugin < Plugin
# Show the default for a given channel/user
def channel_defaults_show(m, params)
begin
- defl = @defaults[params[:channel]]
- m.reply "#{params[:channel]}: #{defl.name}"
+ defl = @registry["channel_defaults"][params[:channel]]
+ m.reply "#{params[:channel]}: #{defl.inspect}"
rescue ::Exception => e
m.reply e.message
end