1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-10 14:23:13 +02:00

Rename ConfigItem_include to ConfigResource and also use it for non-includes

such as other items in the configuration file that are URLs.
This commit is contained in:
Bram Matthys
2021-08-18 14:54:41 +02:00
parent d897ecbc86
commit 756fee58cb
8 changed files with 189 additions and 162 deletions
+1 -1
View File
@@ -1222,7 +1222,7 @@ void mm_install_module(ManagedModule *m)
basename = "mod.c";
tmpfile = unreal_mktemp(TMPDIR, basename);
printf("Downloading %s from %s...\n", m->name, m->source);
printf("ConfigResourceing %s from %s...\n", m->name, m->source);
if (!mm_http_request(m->source, tmpfile, 1))
{
fprintf(stderr, "Repository %s seems to list a module file that cannot be retrieved (%s).\n", m->repo_url, m->source);