andre 4 years ago
parent
commit
052af46527
1 changed files with 1 additions and 1 deletions
  1. 1 1
      index.php

+ 1 - 1
index.php

@@ -26,7 +26,7 @@ function set($ip,$db) {
     return $dbAction->execute();
 }
 
-if (checkToken($token,$db)){
+if (!checkToken($token,$db)){
     if(set(ip2long($ip),$db)){
         echo " inserted $ip" . PHP_EOL;
     } else {