home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Devil's Doorknob BBS Capture (1996-2003)
/
devilsdoorknobbbscapture1996-2003.iso
/
Dloads
/
BBSONLIN
/
REG-314.ZIP
/
REGISTRY.H
< prev
next >
Wrap
Text File
|
1992-12-25
|
2KB
|
35 lines
/*
REGISTRY OF USERS Ver 3.0
by Jon Dietrich
REGISTRY.H
Header file to be installed at beginning of MSGBASE1.C
*/
char registry_string[50];
#define REGISTRY \
case '$': \
grab_user_name(&(msgs[msgnum].msg),subboards[curlsub].filename); \
ss=syscfg.sl[thisuser.sl]; \
grab_user_name(&(msgs[msgnum].msg),subboards[curlsub].filename); \
ss=syscfg.sl[thisuser.sl]; \
if( (lcs()) || (ss.ability & ability_read_post_anony) || \
(msgs[msgnum].anony==0) ) \
if(msgs[msgnum].ownersys==0) { \
sprintf(registry_string,"REGISTRY %d",msgs[msgnum].owneruser); \
full_external(registry_string,0,1); \
} \
else { \
nl(); \
ansic(5); \
pl(" Can't view registry of a user on another system..."); \
} \
else { \
nl(); \
ansic(5); \
pl(" Can't view registry of an anonymous user..."); \
} \
break;