summary refs log tree commit diff stats
path: root/src/common/server.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/server.c')
-rw-r--r--src/common/server.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/common/server.c b/src/common/server.c
index fb50cc8a..53e877e3 100644
--- a/src/common/server.c
+++ b/src/common/server.c
@@ -402,13 +402,10 @@ server_inline (server *serv, char *line, int len)
 	}
 
 #ifdef WIN32
-	if (prefs.text_nonbmp)
-	{
-		cleaned_line = text_replace_non_bmp (line, len, &cleaned_len);
-		if (cleaned_line != NULL ) {
-			line = cleaned_line;
-			len = cleaned_len;
-		}
+	cleaned_line = text_replace_non_bmp (line, len, &cleaned_len);
+	if (cleaned_line != NULL ) {
+		line = cleaned_line;
+		len = cleaned_len;
 	}
 #endif