diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2008-06-24 17:27:30 +0200 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2008-06-24 17:39:39 +0200 |
commit | 46497c5f135079cb26dd9b5ef62e4829f3c49f69 (patch) | |
tree | 785305cd88d90386583f1fa44ad434f582c2d839 /bin | |
parent | a2cd248f43fafdd9f385e52403c145f4e5e9fc75 (diff) |
message handling: improve IRC format handling for received messages
Rather than stripping colors all around and keeping other format codes,
we only strip initial and final formatting before parsing the message.
We store the original, unstripped message in #logmessage() and a
fully stripped copy of the message in #plainmessage()
This means that most plugins will now have full formatting of arguments
preserved, while stupid IRC usage of formatting whole lines will not
interfere with bot usage. Plugins that need a fully stripped version of
the message can still access it.
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions