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

Strips control chars from version notice to defeat lameo hex0rs.

parent cf141856
No related branches found
No related tags found
No related merge requests found
......@@ -125,6 +125,7 @@ bool sbbs_t::answer()
tos=1;
strcpy(str,VERSION_NOTICE);
strcat(str,COPYRIGHT_NOTICE);
strip_ctrl(str);
center(str);
while(i++<50 && l<sizeof(str)-1) { /* wait up to 5 seconds for response */
c=(incom()&0x7f);
......
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