Explorar o código

* Remove compiler warning

Bryan Drewery %!s(int64=16) %!d(string=hai) anos
pai
achega
50b9421fd3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/dcc.c

+ 1 - 1
src/dcc.c

@@ -266,9 +266,9 @@ bot_version(int idx, char *par)
 
   dprintf(idx, "tb %s\n", conf.bot->nick);
 
+#ifdef no
   size_t l = atol(newsplit(&par));
 
-#ifdef no
   if (l != HANDLEN) {
     putlog(LOG_BOTS, "*", "Non-matching handle lengths with %s, they use %zu characters.", dcc[idx].nick, l);
     dprintf(idx, "error Non-matching handle length: mine %d, yours %zu\n", HANDLEN, l);