Parcourir la source

* Remove another place HANDLEN is compared on botlink

Bryan Drewery il y a 16 ans
Parent
commit
4aec3564db
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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)