| @@ -340,13 +340,6 @@ ConfigManager *config_manager_create(char const *path) | ||||
| 		return NULL; | ||||
| 	} | ||||
|  | ||||
| 	if (cm->path && load_config_file(cm->L, cm->path) == 0) { | ||||
| 		if (config_load_ref(cm->L, -1, &cm->cfg) != 0) { | ||||
| 			lua_pop(cm->L, 1); | ||||
| 		} else { | ||||
| 			lua_pop(cm->L, 1); | ||||
| 		} | ||||
| 	} | ||||
| 	return cm; | ||||
| } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user