censor.lua: strip colours, configurable formatting

Colour parsing code taken from prime.lua, and modified to strip.
This commit is contained in:
2021-06-02 23:33:39 +02:00
parent 6f62b9c0c7
commit c5f49ab1e6
2 changed files with 22 additions and 2 deletions

3
NEWS
View File

@@ -9,6 +9,9 @@
* degesch: added support for IRCv3 chghost
* censor.lua: now stripping colours from censored messages;
their attributes are also configurable rather than always black on black
1.1.0 (2020-10-31) "What Do You Mean By 'This Isn't Germany'?"