summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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