Skip to content
Snippets Groups Projects
Commit c9650fcd authored by rswindell's avatar rswindell
Browse files

Use TERM_FLAGS macro for all the terminal user misc bits.

parent 4a6905d7
Branches
Tags
No related merge requests found
......@@ -111,7 +111,7 @@ bool sbbs_t::answer()
useron.number=userdatdupe(0, U_ALIAS, LEN_ALIAS, rlogin_name, 0);
if(useron.number) {
getuserdat(&cfg,&useron);
useron.misc&=~(ANSI|COLOR|RIP|WIP|HTML);
useron.misc&=~TERM_FLAGS;
SAFEPRINTF(path,"%srlogin.cfg",cfg.ctrl_dir);
if(!findstr(client.addr,path)) {
SAFECOPY(tmp
......@@ -193,7 +193,7 @@ bool sbbs_t::answer()
useron.number=userdatdupe(0, U_ALIAS, LEN_ALIAS, rlogin_name, 0);
if(useron.number) {
getuserdat(&cfg,&useron);
useron.misc&=~(ANSI|COLOR|RIP|WIP|HTML);
useron.misc&=~TERM_FLAGS;
SAFECOPY(tmp
,rlogin_pass);
for(i=0;i<3;i++) {
......@@ -381,7 +381,7 @@ bool sbbs_t::answer()
}
useron.misc&=~(ANSI|COLOR|RIP|WIP|HTML);
useron.misc&=~TERM_FLAGS;
useron.misc|=autoterm;
SAFECOPY(useron.comp,client_name);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment