users.bbs handling fixed
This commit is contained in:
parent
f79327b384
commit
b3cf864163
@ -12,7 +12,9 @@ ______________________________________________________________________
|
|||||||
Notes for GoldED+ 1.1.5, March xx 2001
|
Notes for GoldED+ 1.1.5, March xx 2001
|
||||||
______________________________________________________________________
|
______________________________________________________________________
|
||||||
|
|
||||||
- Soft-deleted messages now not hided from messagelist right after
|
- Fixed users.bbs handling for *.msg and Squish areas.
|
||||||
|
|
||||||
|
- Soft-deleted messages no longer hidden from messagelist right after
|
||||||
deletion any more.
|
deletion any more.
|
||||||
|
|
||||||
+ Added new switch JamSMAPIHighwater. If defined GoldED+ will handle
|
+ Added new switch JamSMAPIHighwater. If defined GoldED+ will handle
|
||||||
|
@ -138,8 +138,7 @@ void FidoInit(const char* fidolastread, int fidohwmarks, int fidonullfix, int fi
|
|||||||
const char* _username = WideUsername[0];
|
const char* _username = WideUsername[0];
|
||||||
if(fidowide->userno == -1) {
|
if(fidowide->userno == -1) {
|
||||||
Path userfile;
|
Path userfile;
|
||||||
strxcpy(userfile, fidowide->squishuserpath, sizeof(Path));
|
strxcpy(userfile, AddPath(fidowide->squishuserpath, "USER.BBS"), sizeof(Path));
|
||||||
AddPath(userfile, "USER.BBS");
|
|
||||||
fidowide->user->fh = ::sopen(userfile, O_RDWR|O_CREAT|O_BINARY, WideSharemode, S_STDRW);
|
fidowide->user->fh = ::sopen(userfile, O_RDWR|O_CREAT|O_BINARY, WideSharemode, S_STDRW);
|
||||||
if(fidowide->user->fh != -1) {
|
if(fidowide->user->fh != -1) {
|
||||||
fidowide->user->find(_username);
|
fidowide->user->find(_username);
|
||||||
|
@ -36,8 +36,7 @@
|
|||||||
char* FidoArea::user_lookup(char* __lookfor) {
|
char* FidoArea::user_lookup(char* __lookfor) {
|
||||||
|
|
||||||
Path userfile;
|
Path userfile;
|
||||||
strxcpy(userfile, fidowide->squishuserpath, sizeof(Path));
|
strxcpy(userfile, AddPath(fidowide->squishuserpath, "USER.BBS"), sizeof(Path));
|
||||||
AddPath(userfile, "USER.BBS");
|
|
||||||
wide->user->fh = ::sopen(userfile, O_RDONLY|O_BINARY, WideSharemode, S_STDRD);
|
wide->user->fh = ::sopen(userfile, O_RDONLY|O_BINARY, WideSharemode, S_STDRD);
|
||||||
wide->user->findwild(__lookfor, __lookfor);
|
wide->user->findwild(__lookfor, __lookfor);
|
||||||
::close(wide->user->fh);
|
::close(wide->user->fh);
|
||||||
|
@ -87,8 +87,7 @@ void SquishInit(const char* userpath, int userno, int direct, int recycle, int s
|
|||||||
throw_new(squishwide->user);
|
throw_new(squishwide->user);
|
||||||
|
|
||||||
Path userfile;
|
Path userfile;
|
||||||
strxcpy(userfile, userpath, sizeof(Path));
|
strxcpy(userfile, AddPath(userpath, "USER.BBS"), sizeof(Path));
|
||||||
AddPath(userfile, "USER.BBS");
|
|
||||||
const char* _username = WideUsername[0];
|
const char* _username = WideUsername[0];
|
||||||
if(squishwide->userno == -1) {
|
if(squishwide->userno == -1) {
|
||||||
squishwide->user->fh = ::sopen(userfile, O_RDWR|O_CREAT|O_BINARY, WideSharemode, S_STDRW);
|
squishwide->user->fh = ::sopen(userfile, O_RDWR|O_CREAT|O_BINARY, WideSharemode, S_STDRW);
|
||||||
|
@ -36,8 +36,7 @@
|
|||||||
char* SquishArea::user_lookup(char* __lookfor) {
|
char* SquishArea::user_lookup(char* __lookfor) {
|
||||||
|
|
||||||
Path userfile;
|
Path userfile;
|
||||||
strxcpy(userfile, wide->userpath, sizeof(Path));
|
strxcpy(userfile, AddPath(wide->userpath, "USER.BBS"), sizeof(Path));
|
||||||
AddPath(userfile, "USER.BBS");
|
|
||||||
wide->user->fh = ::sopen(userfile, O_RDONLY|O_BINARY, WideSharemode, S_STDRD);
|
wide->user->fh = ::sopen(userfile, O_RDONLY|O_BINARY, WideSharemode, S_STDRD);
|
||||||
wide->user->findwild(__lookfor, __lookfor);
|
wide->user->findwild(__lookfor, __lookfor);
|
||||||
::close(wide->user->fh);
|
::close(wide->user->fh);
|
||||||
|
Reference in New Issue
Block a user