Fixed WebAdmin showing tab names (thanks for pointing it out Lapayo)
Changed some std::string to AString git-svn-id: http://mc-server.googlecode.com/svn/trunk@780 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
@@ -195,14 +195,11 @@ void cWebAdmin::Request_Handler(webserver::http_request* r)
|
||||
Content = (*itr)->HandleWebRequest( &Request );
|
||||
cWebPlugin* WebPlugin = *itr;
|
||||
FoundPlugin = WebPlugin->GetName();
|
||||
/*
|
||||
TODO: Is this needed anymore?
|
||||
cWebPlugin_Lua* LuaPlugin = dynamic_cast< cWebPlugin_Lua* >( WebPlugin );
|
||||
if( LuaPlugin )
|
||||
AString TabName = WebPlugin->GetTabNameForRequest( &Request ).first;
|
||||
if( TabName.empty() == false )
|
||||
{
|
||||
FoundPlugin += " - " + LuaPlugin->GetTabNameForRequest( &Request ).first;
|
||||
FoundPlugin += " - " + TabName;
|
||||
}
|
||||
*/
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user