diff options
Diffstat (limited to 'source/cWebAdmin.cpp')
-rw-r--r-- | source/cWebAdmin.cpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/source/cWebAdmin.cpp b/source/cWebAdmin.cpp index b12428711..32cf5e338 100644 --- a/source/cWebAdmin.cpp +++ b/source/cWebAdmin.cpp @@ -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; } } |