Commit d3e397b4 authored by rswindell's avatar rswindell
Browse files

If the HappyBirthday text.dat line is blank, don't try to display it nor

pause and CLS after.
parent 66f5a2c2
......@@ -212,9 +212,11 @@ bool sbbs_t::logon()
rows=useron.rows;
unixtodstr(&cfg,(time32_t)logontime,str);
if(!strncmp(str,useron.birth,5) && !(useron.rest&FLAG('Q'))) {
bputs(text[HappyBirthday]);
pause();
CLS;
if(text[HappyBirthday][0]) {
bputs(text[HappyBirthday]);
pause();
CLS;
}
user_event(EVENT_BIRTHDAY);
}
useron.ltoday++;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment