Permalink
Browse files

regexp case insensitive

  • Loading branch information...
1 parent ba2ba80 commit 42417ac26b321d8e52048130c70f36eeda5d8d9a @Neku committed May 1, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 rubot.rb
View
@@ -22,7 +22,7 @@
end
- on :message, /(js|javascript)/ do |m|
+ on :message, /(js|javascript|node)/i do |m|
if m.user.nick == "gattuso"
m.reply "Sento puzza di gattusata"
end

0 comments on commit 42417ac

Please sign in to comment.