diff options
author | lapayo94@gmail.com <lapayo94@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-08-22 18:31:13 +0200 |
---|---|---|
committer | lapayo94@gmail.com <lapayo94@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-08-22 18:31:13 +0200 |
commit | 886c7f5624470c1545fef32c6b048739d131d47b (patch) | |
tree | 1db005dbbd33bce5f29a69cfbf2d66f8adccfb3c /source/cWebAdmin.cpp | |
parent | WebAdmin should not cause crashes anymore (diff) | |
download | cuberite-886c7f5624470c1545fef32c6b048739d131d47b.tar cuberite-886c7f5624470c1545fef32c6b048739d131d47b.tar.gz cuberite-886c7f5624470c1545fef32c6b048739d131d47b.tar.bz2 cuberite-886c7f5624470c1545fef32c6b048739d131d47b.tar.lz cuberite-886c7f5624470c1545fef32c6b048739d131d47b.tar.xz cuberite-886c7f5624470c1545fef32c6b048739d131d47b.tar.zst cuberite-886c7f5624470c1545fef32c6b048739d131d47b.zip |
Diffstat (limited to '')
-rw-r--r-- | source/cWebAdmin.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/cWebAdmin.cpp b/source/cWebAdmin.cpp index e70d60f7f..b12428711 100644 --- a/source/cWebAdmin.cpp +++ b/source/cWebAdmin.cpp @@ -5,7 +5,6 @@ #include "cStringMap.h" #include "cWebPlugin.h" -#include "cWebPlugin_Lua.h" #include "cPluginManager.h" #include "cPlugin.h" @@ -196,11 +195,14 @@ 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 ) { FoundPlugin += " - " + LuaPlugin->GetTabNameForRequest( &Request ).first; } + */ break; } } |