diff options
author | Berke Viktor <berkeviktor@aol.com> | 2012-01-20 01:31:53 +0100 |
---|---|---|
committer | Berke Viktor <berkeviktor@aol.com> | 2012-01-20 01:31:53 +0100 |
commit | c1ec6d1039317342ed339f2ca1b52e2f4f3b07d3 (patch) | |
tree | ad7008a20b176eafd12e6fa6dba0ea36c4d019fd /src/common/server.c | |
parent | a9fb6a18ecaff6b2f39a4710677385557af15924 (diff) |
allow for disabling the filtering mechanism
Diffstat (limited to 'src/common/server.c')
-rw-r--r-- | src/common/server.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/common/server.c b/src/common/server.c index 53e877e3..fb50cc8a 100644 --- a/src/common/server.c +++ b/src/common/server.c @@ -402,10 +402,13 @@ server_inline (server *serv, char *line, int len) } #ifdef WIN32 - cleaned_line = text_replace_non_bmp (line, len, &cleaned_len); - if (cleaned_line != NULL ) { - line = cleaned_line; - len = cleaned_len; + if (prefs.text_nonbmp) + { + cleaned_line = text_replace_non_bmp (line, len, &cleaned_len); + if (cleaned_line != NULL ) { + line = cleaned_line; + len = cleaned_len; + } } #endif |