Fix server favorites not saving when client/serverlist/ doesn't exist already (#11152)

This commit is contained in:
sfan5
2021-04-02 16:31:44 +02:00
parent 847860fc5c
commit e5f802ab5c
3 changed files with 18 additions and 13 deletions

View File

@@ -58,7 +58,7 @@ class ModApiMainMenu: public ModApiBase
* @param path path to check
* @return true if the path may be modified
*/
static bool mayModifyPath(const std::string &path);
static bool mayModifyPath(std::string path);
//api calls