summaryrefslogtreecommitdiff
path: root/vchat-protocol.c
diff options
context:
space:
mode:
Diffstat (limited to 'vchat-protocol.c')
-rwxr-xr-xvchat-protocol.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/vchat-protocol.c b/vchat-protocol.c
index ef035fe..1a29b07 100755
--- a/vchat-protocol.c
+++ b/vchat-protocol.c
@@ -26,10 +26,8 @@
26#include <readline/readline.h> 26#include <readline/readline.h>
27#include <openssl/ssl.h> 27#include <openssl/ssl.h>
28#include <openssl/err.h> 28#include <openssl/err.h>
29#ifndef NO_LOCALE
30#include <locale.h> 29#include <locale.h>
31#include <langinfo.h> 30#include <langinfo.h>
32#endif
33 31
34/* local includes */ 32/* local includes */
35#include "vchat.h" 33#include "vchat.h"
@@ -243,11 +241,9 @@ pubthoughts (char *message)
243static void 241static void
244serverlogin (char *message) 242serverlogin (char *message)
245{ 243{
246#ifndef NO_LOCALE
247 int utf8=!strcmp(nl_langinfo(CODESET), "UTF-8"); 244 int utf8=!strcmp(nl_langinfo(CODESET), "UTF-8");
248 if (utf8) 245 if (utf8)
249 networkoutput(".e utf8"); 246 networkoutput(".e utf8");
250#endif
251} 247}
252 248
253/* parse and handle an idle message 249/* parse and handle an idle message