aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2008-06-04 07:47:48 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2008-06-04 07:47:48 +0000
commitd576fc9cfb0fe7c4f7911ef580e995d1a9f3d147 (patch)
tree9073cfffd9aa574b3ee8ec83911ba5f8ed3392f9
parentEnable new reload for defaults. (diff)
downloadrbot-bugzilla-d576fc9cfb0fe7c4f7911ef580e995d1a9f3d147.tar.gz
rbot-bugzilla-d576fc9cfb0fe7c4f7911ef580e995d1a9f3d147.tar.bz2
rbot-bugzilla-d576fc9cfb0fe7c4f7911ef580e995d1a9f3d147.zip
Fix missing loop.
-rw-r--r--bugzilla.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/bugzilla.rb b/bugzilla.rb
index c638565..375a2f7 100644
--- a/bugzilla.rb
+++ b/bugzilla.rb
@@ -590,6 +590,7 @@ class BugzillaPlugin < Plugin
# the registry and report them in the locally accessed objects.
def channel_defaults_reload
begin
+ @registry["channel_defaults"].each do |chanrexp, defaults|
if chanrexp =~ /^\/.*\/$/
chanrexp = Regexp.new(chanrexp[1..-2])
@bot.server.channels.each do |chan|
@@ -598,6 +599,7 @@ class BugzillaPlugin < Plugin
else
_channel_defaults_reload_set(chanrexp, defaults)
end
+ end
rescue ::Exception => e
debug(e.message + "\n" + e.backtrace.join("\n\t"))
end