summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Server/Plugins/APIDump/APIDesc.lua21
-rw-r--r--src/Bindings/LuaFunctions.h5
2 files changed, 0 insertions, 26 deletions
diff --git a/Server/Plugins/APIDump/APIDesc.lua b/Server/Plugins/APIDump/APIDesc.lua
index 482c85f9e..ee9e4cf30 100644
--- a/Server/Plugins/APIDump/APIDesc.lua
+++ b/Server/Plugins/APIDump/APIDesc.lua
@@ -14175,27 +14175,6 @@ end
},
Notes = "Returns a copy of the string with all quotes and backslashes escaped by a backslash",
},
- GetChar =
- {
- Params =
- {
- {
- Name = "Input",
- Type = "string",
- },
- {
- Name = "Index",
- Type = "number",
- },
- },
- Returns =
- {
- {
- Type = "string",
- },
- },
- Notes = "(<b>OBSOLETE</b>, use standard Lua string.sub() instead) Returns one character from the string, specified by index. ",
- },
GetIniItemSet =
{
Params =
diff --git a/src/Bindings/LuaFunctions.h b/src/Bindings/LuaFunctions.h
index 98341a131..400b08ab1 100644
--- a/src/Bindings/LuaFunctions.h
+++ b/src/Bindings/LuaFunctions.h
@@ -11,9 +11,4 @@ inline unsigned int GetTime()
return static_cast<unsigned int>(std::chrono::seconds(time(0)).count());
}
-inline std::string GetChar( std::string & a_Str, unsigned int a_Idx)
-{
- return std::string(1, a_Str[ a_Idx ]);
-}
-
// tolua_end