diff options
author | 2008-06-06 01:52:25 +0000 | |
---|---|---|
committer | 2008-06-06 01:52:25 +0000 | |
commit | 7d43ee71cee7abebf437e21cd46604971b674b58 (patch) | |
tree | 056f96a6dd77a410b16137751c142e0b956093ac | |
parent | Factor out dupe code in bug func. (diff) | |
download | rbot-bugzilla-7d43ee71cee7abebf437e21cd46604971b674b58.tar.gz rbot-bugzilla-7d43ee71cee7abebf437e21cd46604971b674b58.tar.bz2 rbot-bugzilla-7d43ee71cee7abebf437e21cd46604971b674b58.zip |
Use channel name not object for the defaults array.
-rw-r--r-- | bugzilla.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bugzilla.rb b/bugzilla.rb index 28313bc..2171015 100644 --- a/bugzilla.rb +++ b/bugzilla.rb @@ -644,7 +644,7 @@ class BugzillaPlugin < Plugin if chanrexp =~ /^\/.*\/$/ chanrexp = Regexp.new(chanrexp[1..-2]) @bot.server.channels.each do |chan| - _channel_defaults_reload_set(chan, defaults) if chan.to_s =~ chanrexp + _channel_defaults_reload_set(chan.to_s, defaults) if chan.to_s =~ chanrexp end else _channel_defaults_reload_set(chanrexp, defaults) |