diff --git a/nodejs.install b/nodejs.install
index f8b99b6..92540fd 100644
--- a/nodejs.install
+++ b/nodejs.install
@@ -55,7 +55,7 @@ function nodejs_requirements($phase) {
     $value = t('Error reaching the Node.js server. Enable HTTP error-logging and check the dblog page for more details');
     $severity = REQUIREMENT_ERROR;
   }
-  else if ($nodejs->safeNodeServerVersion()) {
+  else if (!$nodejs->safeNodeServerVersion()) {
     $value = t('The Drupal-Node.js application version is insecure. Please update.');
     $severity = REQUIREMENT_ERROR;
   }
