Another new bot
authorJoey Schulze <joey@infodrom.org>
Sat, 13 Sep 2008 15:45:21 +0000 (15:45 +0000)
committerJoey Schulze <joey@infodrom.org>
Sat, 13 Sep 2008 15:45:21 +0000 (15:45 +0000)
lib/core.inc

index 73c2a72..792b708 100644 (file)
@@ -147,6 +147,7 @@ function is_spider()
       strpos($_SERVER['HTTP_USER_AGENT'], 'penthesilea/0.3') !== false ||
       strpos($_SERVER['HTTP_USER_AGENT'], 'VisBot/2.0') !== false ||
       strpos($_SERVER['HTTP_USER_AGENT'], 'Netluchs/Nutch-1.0') !== false ||
+      strpos($_SERVER['HTTP_USER_AGENT'], 'Yanga WorldSearch Bot') !== false ||
       strpos($_SERVER['HTTP_USER_AGENT'], 'Cityreview Robot') !== false) {
     if (isset($_SESSION['uid']))
       $_SESSION['robot'] = true;