diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2007-08-29 19:48:16 +0000 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2007-08-29 19:48:16 +0000 |
commit | 5e26385a85bd6d71af5250973a0201b1f9860c5a (patch) | |
tree | 09e3431cf42636c35c217edc92d0cc05dc8957fd | |
parent | fff8d44385c9cbac4c2e037ea950db0f747f9f46 (diff) |
ColorRx: accept a color specification with no foreground color
-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 4110e634..192e02f1 100644 --- a/lib/rbot/message.rb +++ b/lib/rbot/message.rb @@ -19,7 +19,7 @@ module Irc Reverse = "\026" Italic = "\011" Color = "\003" - ColorRx = /#{Color}\d\d?(?:,\d\d?)?/ + ColorRx = /#{Color}\d?\d?(?:,\d\d?)?/ # base user message class, all user messages derive from this # (a user message is defined as having a source hostmask, a target |