added: to stats plugin: microsoft bing searcher
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@648 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -31,7 +31,7 @@ bool Bot::BrowserNameHas(const char * name)
|
||||
|
||||
bool Bot::IsGoogle()
|
||||
{
|
||||
return BrowserNameHas("Googlebot") && BrowserNameHas("www.google.com");
|
||||
return BrowserNameHas("Googlebot") && BrowserNameHas("+http://www.google.com/bot.html");
|
||||
}
|
||||
|
||||
|
||||
@@ -42,4 +42,10 @@ bool Bot::IsYahoo()
|
||||
}
|
||||
|
||||
|
||||
bool Bot::IsBing()
|
||||
{
|
||||
return BrowserNameHas("msnbot") && BrowserNameHas("+http://search.msn.com/msnbot.htm");
|
||||
}
|
||||
|
||||
|
||||
} // namespace
|
||||
|
Reference in New Issue
Block a user