Skip to content
Browse files

case insensative regex

  • Loading branch information...
1 parent 2d20cfc commit 22914ca5b5036ab25cf3299f9d119998ede3fc7e @jsmestad jsmestad committed Jan 6, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/janky.rb
View
2 lib/janky.rb
@@ -155,7 +155,7 @@ def self.setup(settings)
chat_name = settings["JANKY_CHAT"] || "campfire"
chat_settings = {}
settings.each do |key, value|
- if key =~ /^JANKY_CHAT_#{chat_name}_/
+ if key =~ /^JANKY_CHAT_#{chat_name}_/i
chat_settings[key] = value
end
end

0 comments on commit 22914ca

Please sign in to comment.
Something went wrong with that request. Please try again.