summaryrefslogtreecommitdiff
path: root/src/script/lua_api/l_mainmenu.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/script/lua_api/l_mainmenu.h')
-rw-r--r--src/script/lua_api/l_mainmenu.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/script/lua_api/l_mainmenu.h b/src/script/lua_api/l_mainmenu.h
index ae68edccf..9e7792197 100644
--- a/src/script/lua_api/l_mainmenu.h
+++ b/src/script/lua_api/l_mainmenu.h
@@ -53,11 +53,12 @@ private:
static int getBoolData(lua_State *L, std::string name,bool& valid);
/**
- * check if a path is within some of minetests folders
+ * Checks if a path may be modified. Paths in the temp directory or the user
+ * games, mods, textures, or worlds directories may be modified.
* @param path path to check
- * @return true/false
+ * @return true if the path may be modified
*/
- static bool isMinetestPath(std::string path);
+ static bool mayModifyPath(const std::string &path);
//api calls