Explorar el Código

* Remove another place HANDLEN is compared on botlink

Bryan Drewery hace 16 años
padre
commit
4aec3564db
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/botcmd.c

+ 1 - 1
src/botcmd.c

@@ -656,7 +656,7 @@ static void bot_nlinked(int idx, char *par)
   }
   if (!s[0]) {
     for (p = newbot; *p; p++)
-      if ((*p < 32) || (*p == 127) || ((p - newbot) >= HANDLEN))
+      if ((*p < 32) || (*p == 127))
 	bogus = 1;
     i = nextbot(next);
     if (i != idx)