1
0

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:
faketruth
2012-08-22 23:29:15 +00:00
parent 49a4613d94
commit eba0437d68
3 changed files with 14 additions and 17 deletions

View File

@@ -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;
}
}