Update Msg13.cpp

Do not override the spider user agent with Gigabot, use the one specified by the admin in Parms.cpp as the default.
This commit is contained in:
Gigablast
2013-08-05 10:34:08 -06:00
parent b002233b02
commit 6ac55d3b75

@ -489,7 +489,8 @@ void handleRequest13 ( UdpSlot *slot , long niceness ) {
// use the default agent unless scraping
// force to event guru bot for now
//char *agent = "Mozilla/5.0 (compatible; ProCogSEOBot/1.0; +http://www.procog.com/ )";
char *agent = "Mozilla/5.0 (compatible; GigaBot/1.0; +http://www.gigablast.com/ )";
//char *agent = "Mozilla/5.0 (compatible; GigaBot/1.0; +http://www.gigablast.com/ )";
char *agent = g_conf.m_spiderUserAgent;
if ( r->m_isScraping )
agent = "Mozilla/4.0 "
"(compatible; MSIE 6.0; Windows 98; "