New bot: Gaisbot
authorJoey Schulze <joey@infodrom.org>
Mon, 27 Oct 2008 07:50:22 +0000 (07:50 +0000)
committerJoey Schulze <joey@infodrom.org>
Mon, 27 Oct 2008 07:50:22 +0000 (07:50 +0000)
lib/core.inc

index f2af406..ffc9bed 100644 (file)
@@ -154,6 +154,7 @@ function is_spider()
       strpos($_SERVER['HTTP_USER_AGENT'], 'MJ12bot/') !== false ||
       strpos($_SERVER['HTTP_USER_AGENT'], 'Yahoo-MMCrawler') !== false ||
       strpos($_SERVER['HTTP_USER_AGENT'], 'Charlotte/1.1') !== false ||
       strpos($_SERVER['HTTP_USER_AGENT'], 'MJ12bot/') !== false ||
       strpos($_SERVER['HTTP_USER_AGENT'], 'Yahoo-MMCrawler') !== false ||
       strpos($_SERVER['HTTP_USER_AGENT'], 'Charlotte/1.1') !== false ||
+      strpos($_SERVER['HTTP_USER_AGENT'], 'Gaisbot/3.0') !== false ||
       strpos($_SERVER['HTTP_USER_AGENT'], 'Cityreview Robot') !== false) {
     if (isset($_SESSION['uid']))
       $_SESSION['robot'] = true;
       strpos($_SERVER['HTTP_USER_AGENT'], 'Cityreview Robot') !== false) {
     if (isset($_SESSION['uid']))
       $_SESSION['robot'] = true;