فهرست منبع

* Disable bots delinking if HANDLEN doesn't match (so we can increase the default in the future)

Bryan Drewery 16 سال پیش
والد
کامیت
0139d550a6
1فایلهای تغییر یافته به همراه2 افزوده شده و 0 حذف شده
  1. 2 0
      src/dcc.c

+ 2 - 0
src/dcc.c

@@ -268,6 +268,7 @@ bot_version(int idx, char *par)
 
   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);
@@ -276,6 +277,7 @@ bot_version(int idx, char *par)
     lostdcc(idx);
     return;
   }
+#endif
 
   char x[1024] = "", *vversion = NULL, *vcommit = NULL;
   int vlocalhub = 0;