summaryrefslogtreecommitdiffstats
path: root/source/cWebPlugin_Lua.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/cWebPlugin_Lua.cpp15
1 files changed, 12 insertions, 3 deletions
diff --git a/source/cWebPlugin_Lua.cpp b/source/cWebPlugin_Lua.cpp
index bb3f79226..ab397173e 100644
--- a/source/cWebPlugin_Lua.cpp
+++ b/source/cWebPlugin_Lua.cpp
@@ -8,6 +8,15 @@
#include "cWebAdmin.h"
+
+
+
+extern bool report_errors(lua_State* lua, int status);
+
+
+
+
+
static std::string SafeString( const std::string& a_String )
{
std::string RetVal;
@@ -24,8 +33,8 @@ static std::string SafeString( const std::string& a_String )
}
-extern bool report_errors(lua_State* lua, int status);
-extern std::vector<std::string> StringSplit(std::string str, std::string delim);
+
+
struct cWebPlugin_Lua::sWebPluginTab
{
@@ -130,7 +139,7 @@ void cWebPlugin_Lua::Initialize()
std::pair< std::string, std::string > cWebPlugin_Lua::GetTabNameForRequest( HTTPRequest* a_Request )
{
std::pair< std::string, std::string > Names;
- std::vector<std::string> Split = StringSplit( a_Request->Path, "/" );
+ AStringVector Split = StringSplit(a_Request->Path, "/");
if( Split.size() > 1 )
{