aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bugzilla.rb2
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)