aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2010-10-27 07:04:13 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2010-10-27 07:04:13 +0000
commit181f99ec464aefcb755de68d1aa90045e7717d53 (patch)
tree1ed9a13399dc8e0ca746d1b5130edef4bee77d3e /bugzilla.rb
parentUpdate list of zillas. (diff)
downloadrbot-bugzilla-181f99ec464aefcb755de68d1aa90045e7717d53.tar.gz
rbot-bugzilla-181f99ec464aefcb755de68d1aa90045e7717d53.tar.bz2
rbot-bugzilla-181f99ec464aefcb755de68d1aa90045e7717d53.zip
Fix case sensitivity issue.
Diffstat (limited to 'bugzilla.rb')
-rw-r--r--bugzilla.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/bugzilla.rb b/bugzilla.rb
index acf6a4a..b75b891 100644
--- a/bugzilla.rb
+++ b/bugzilla.rb
@@ -842,7 +842,7 @@ class BugzillaPlugin < Plugin
begin
@registry["channel_defaults"].each do |chanrexp, defaults|
if chanrexp =~ /^\/.*\/$/
- chanrexp = Regexp.new(chanrexp[1..-2])
+ chanrexp = Regexp.new(chanrexp[1..-2], Regexp::IGNORECASE)
@bot.server.channels.each do |chan|
_channel_defaults_reload_set(chan.to_s, defaults) if chan.to_s =~ chanrexp
end