From aa0c3234ae0cbc02af7acf5e6c6f842cd33de729 Mon Sep 17 00:00:00 2001 From: Andrew Pamment Date: Fri, 9 Feb 2018 16:32:34 +1000 Subject: [PATCH] update documentation --- docs/docs/guide/installation.md | 4 +++- docs/docs/guide/updating.md | 2 +- src/www_files.c | 5 ----- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/docs/docs/guide/installation.md b/docs/docs/guide/installation.md index e191a2d..9505741 100644 --- a/docs/docs/guide/installation.md +++ b/docs/docs/guide/installation.md @@ -24,10 +24,12 @@ should work on debian and debian derivatives. ## Install Magicka -Clone the repo +Clone the repo and checkout the branch you want, eg. v0.9-patch. git clone https://github.com/MagickaBBS/MagickaBBS + git checkout v0.9-patch + Build the BBS make www diff --git a/docs/docs/guide/updating.md b/docs/docs/guide/updating.md index 4ae6531..1a85f5a 100644 --- a/docs/docs/guide/updating.md +++ b/docs/docs/guide/updating.md @@ -18,7 +18,7 @@ Assuming you've installed Magicka BBS from via git rather than use a ZIP file or make cleanwww make www -Where branch is the branch you're updating to, for example v0.9-alpha. +Where branch is the branch you're updating to, for example v0.9-patch. ## Step 3. Update Scripts diff --git a/src/www_files.c b/src/www_files.c index 139a276..dd36d57 100644 --- a/src/www_files.c +++ b/src/www_files.c @@ -169,11 +169,6 @@ char *www_decode_hash(char *hash) { return NULL; } -#if 0 - // TODO: check security level... - - if (conf.file_directories[dir]->sec_level < ) -#endif // get filename from database snprintf(buffer, PATH_MAX, "%s/%s.sq3", conf.bbs_path, conf.file_directories[dir]->file_subs[sub]->database); rc = sqlite3_open(buffer, &db);