]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/blobdiff - lib/rbot/message.rb
All lib/rbot files are now upgraded to the new logging feature
[user/henk/code/ruby/rbot.git] / lib / rbot / message.rb
index eabb569a5beec41c7dcd76fea16aafd50e2c25d9..a92194e90d47d98eb374151dba77f15f963e3cb9 100644 (file)
@@ -141,7 +141,7 @@ module Irc
       # even if they used above prefixes, we allow for silly people who
       # combine all possible types, e.g. "|rbot: hello", or 
       # "/msg rbot rbot: hello", etc
-      if @message.gsub!(/^\s*#{Regexp.escape(bot.nick)}\s*([:;,>]|\s)\s*/, "")
+      if @message.gsub!(/^\s*#{Regexp.escape(bot.nick)}\s*([:;,>]|\s)\s*/i, "")
         @address = true
       end