Adam Ierymenko 9 rokov pred
rodič
commit
601c51b351
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      node/NetworkConfig.hpp

+ 1 - 1
node/NetworkConfig.hpp

@@ -432,7 +432,7 @@ public:
 				return true;
 				return true;
 			}
 			}
 		}
 		}
-		if (specialistCount >= ZT_MAX_NETWORK_SPECIALISTS) {
+		if (specialistCount < ZT_MAX_NETWORK_SPECIALISTS) {
 			specialists[specialistCount++] = f | aint;
 			specialists[specialistCount++] = f | aint;
 			return true;
 			return true;
 		}
 		}