Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

Commit 9e25b0a3 authored by Rob Swindell's avatar Rob Swindell 💬

Don't pretend that user-to-user file transfers are working (they don't)

So just always assume that no "user" directory has been configured. At least for now while I ponder whether this is a feature worth restoring and if so, how.
parent 7710c344
......@@ -335,8 +335,10 @@ BOOL read_file_cfg(scfg_t* cfg, char* error, size_t maxerrlen)
if(!stricmp(cfg->dir[i]->sname,"SYSOP")) /* Sysop upload directory */
cfg->sysop_dir=i;
#if 0 // TODO: Remove or re-implement
else if(!stricmp(cfg->dir[i]->sname,"USER")) /* User to User xfer dir */
cfg->user_dir=i;
#endif
else if(!stricmp(cfg->dir[i]->sname,"UPLOADS")) /* Upload directory */
cfg->upload_dir=i;
else if(!stricmp(cfg->dir[i]->sname,"OFFLINE")) /* Offline files dir */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment