diff options
Diffstat (limited to 'crystal/bungmobott.cr')
-rw-r--r-- | crystal/bungmobott.cr | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crystal/bungmobott.cr b/crystal/bungmobott.cr index 29bc46f..5c21a74 100644 --- a/crystal/bungmobott.cr +++ b/crystal/bungmobott.cr @@ -684,6 +684,8 @@ def t2s( t2sifc : Channel, config : BungmoBott::Config, userdir : Path, chatuser subs = Array( Tuple( Regex, String ) ){ { /http(s|):\/\/([a-z0-9.-]+)\/[a-zA-Z0-9\/&=%-_]+/, "link to \\2" }, { /([^a-zA-Z0-9])-/, "\\1 dash "}, + { /\x{0003}[0-9]*,[0-9]*/, "" }, # IRC terminal color codes + { /\x{0003}[0-9]+/, "" }, { /\|/, " vertical bar "}, { /\`/, " grave accent "}, { /\+/, " plus "}, |