Adam Ierymenko 9 years ago
parent
commit
601c51b351
1 changed files with 1 additions and 1 deletions
  1. 1 1
      node/NetworkConfig.hpp

+ 1 - 1
node/NetworkConfig.hpp

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