summaryrefslogtreecommitdiff
path: root/lib/rbot/message.rb
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2007-08-29 19:48:16 +0000
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2007-08-29 19:48:16 +0000
commit5e26385a85bd6d71af5250973a0201b1f9860c5a (patch)
tree09e3431cf42636c35c217edc92d0cc05dc8957fd /lib/rbot/message.rb
parentfff8d44385c9cbac4c2e037ea950db0f747f9f46 (diff)
ColorRx: accept a color specification with no foreground color
Diffstat (limited to 'lib/rbot/message.rb')
-rw-r--r--lib/rbot/message.rb2
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