summaryrefslogtreecommitdiff
path: root/lib/rbot/message.rb
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2010-12-07 17:57:14 +0100
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2010-12-07 17:57:14 +0100
commitcf8324728c4b427d1955a7ed3ba65c05e2545bc3 (patch)
tree3a1420fefa41e0f0335661fe97ad0630c4e5d6e9 /lib/rbot/message.rb
parent8725939013d12b90a5138990bab18ccd20e82bdf (diff)
The mIRC color for white is 0, not 16
Default mIRC colors are 0-15, and some clients don't react too well to a color > 15, while most wrap or default. Konversation, for example, will stop the color command parsing and interpret it as color 1, followed by the literal digit 6. So use the 'official' (mIRC) value of 0 for white.
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 bb7f655c..31508879 100644
--- a/lib/rbot/message.rb
+++ b/lib/rbot/message.rb
@@ -72,7 +72,7 @@ module Irc
:dark_gray => 14,
:lightgray => 15,
:light_gray => 15,
- :white => 16
+ :white => 0
}
# Convert a String or Symbol into a color number