Skip to content

Commit

Permalink
Update Download.hpp
Browse files Browse the repository at this point in the history
  • Loading branch information
diamante0018 authored Jan 20, 2024
1 parent 45cfea1 commit b81c1b4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Components/Modules/Download.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ namespace Components
static void InitiateClientDownload(const std::string& mod, bool needPassword, bool map = false);
static void InitiateMapDownload(const std::string& map, bool needPassword);

static void ReplyError(mg_connection* connection, int code, std::string messageOverride = {});

static Dvar::Var SV_wwwDownload;
static Dvar::Var SV_wwwBaseUrl;

Expand Down Expand Up @@ -105,7 +107,6 @@ namespace Components
static bool DownloadFile(ClientDownload* download, unsigned int index);

static void LogFn(char c, void* param);
static void ReplyError(mg_connection* connection, int code, std::string messageOverride = {});
static void Reply(mg_connection* connection, const std::string& contentType, const std::string& data);

static std::optional<std::string> FileHandler(mg_connection* c, const mg_http_message* hm);
Expand Down

0 comments on commit b81c1b4

Please sign in to comment.