summaryrefslogtreecommitdiff
path: root/vchat-protocol.c
diff options
context:
space:
mode:
Diffstat (limited to 'vchat-protocol.c')
-rwxr-xr-xvchat-protocol.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/vchat-protocol.c b/vchat-protocol.c
index 77e45ec..2b98779 100755
--- a/vchat-protocol.c
+++ b/vchat-protocol.c
@@ -116,7 +116,8 @@ pubthoughts (char *message)
116static void 116static void
117serverlogin (char *message) 117serverlogin (char *message)
118{ 118{
119 int utf8=!strcmp(nl_langinfo(CODESET), "UTF-8"); 119 (void)message;
120 int utf8 = !strcmp(nl_langinfo(CODESET), "UTF-8");
120 if (utf8) 121 if (utf8)
121 vc_sendmessage(".e utf8"); 122 vc_sendmessage(".e utf8");
122} 123}
@@ -262,8 +263,9 @@ ownjoin (int channel)
262 263
263/* this user changes his nick */ 264/* this user changes his nick */
264void 265void
265ownnickchange (char *newnick) 266ownnickchange (const char *newnick)
266{ 267{
268 (void)newnick;
267} 269}
268 270
269/* parse and handle a nick error message 271/* parse and handle a nick error message