浏览代码

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

Bryan Drewery 17 年之前
父节点
当前提交
cb11d11208
共有 1 个文件被更改,包括 2 次插入0 次删除
  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);
 
+  newsplit(&par); //Ignore handlen
+
 #ifdef no
   size_t l = atol(newsplit(&par));