Ver Fonte

* Fix regression in not checking handlen: version info gets shifted

Bryan Drewery há 16 anos atrás
pai
commit
cb11d11208
1 ficheiros alterados com 2 adições e 0 exclusões
  1. 2 0
      src/dcc.c

+ 2 - 0
src/dcc.c

@@ -266,6 +266,8 @@ bot_version(int idx, char *par)
 
 
   dprintf(idx, "tb %s\n", conf.bot->nick);
   dprintf(idx, "tb %s\n", conf.bot->nick);
 
 
+  newsplit(&par); //Ignore handlen
+
 #ifdef no
 #ifdef no
   size_t l = atol(newsplit(&par));
   size_t l = atol(newsplit(&par));