diff options
author | Tom Gilbert <tom@linuxbrit.co.uk> | 2005-09-11 00:24:23 +0000 |
---|---|---|
committer | Tom Gilbert <tom@linuxbrit.co.uk> | 2005-09-11 00:24:23 +0000 |
commit | fc58df59392b723d4ab542c2406ebe4d6cb3ccba (patch) | |
tree | 6cd907c4bcf1586612e6cc016da22c0cda1319ca | |
parent | e49bf78b94326449489a6ab43f01f7fe7854ef02 (diff) |
fix bug #29
-rw-r--r-- | lib/rbot/message.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rbot/message.rb b/lib/rbot/message.rb index eabb569a..a92194e9 100644 --- a/lib/rbot/message.rb +++ b/lib/rbot/message.rb @@ -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 |