From 5e26385a85bd6d71af5250973a0201b1f9860c5a Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Wed, 29 Aug 2007 19:48:16 +0000 Subject: ColorRx: accept a color specification with no foreground color --- lib/rbot/message.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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 -- cgit v1.2.3