Skip to content
Snippets Groups Projects
Commit aa15ccd8 authored by deuce's avatar deuce
Browse files

Properly redraw menu when a new email is cancelled by a blank address.

parent ba7fce1f
No related branches found
No related tags found
No related merge requests found
......@@ -708,16 +708,16 @@ while(1) {
clear_screen();
console.putmsg("\x01_\r\n\x01b\x01hE-mail (User name or number): \x01w");
str=console.getstr("",40,K_UPRLWR);
if(str==null || str=="")
break;
if(str=="Sysop")
str="1";
if(str.search(/\@/)!=-1)
bbs.netmail(str);
else {
i=bbs.finduser(str);
if(i>0)
bbs.email(i,WM_EMAIL);
if(str!=null && str!="") {
if(str=="Sysop")
str="1";
if(str.search(/\@/)!=-1)
bbs.netmail(str);
else {
i=bbs.finduser(str);
if(i>0)
bbs.email(i,WM_EMAIL);
}
}
draw_main(true);
break;
......@@ -754,16 +754,16 @@ while(1) {
clear_screen();
console.putmsg("\x01_\r\n\x01b\x01hE-mail (User name or number): \x01w");
str=console.getstr("",40,K_UPRLWR);
if(str==null || str=="")
break;
if(str=="Sysop")
str="1";
if(str.search(/\@/)!=-1)
bbs.netmail(str,WM_FILE);
else {
i=bbs.finduser(str);
if(i>0)
bbs.email(i,WM_EMAIL|WM_FILE);
if(str!=null && str!="") {
if(str=="Sysop")
str="1";
if(str.search(/\@/)!=-1)
bbs.netmail(str,WM_FILE);
else {
i=bbs.finduser(str);
if(i>0)
bbs.email(i,WM_EMAIL|WM_FILE);
}
}
draw_main(true);
break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment