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

Fixed syntax error (JS isn't C/C++).

parent 408d4944
No related branches found
No related tags found
No related merge requests found
......@@ -575,8 +575,10 @@ while(client.socket.is_connected && !quit) {
var ng_found = false; /* Requires sbbs v3.13 */
var ng_list = hdr.newsgroups.split(',');
for(n in ng_list)
if(ng[n].toLowerCase() == selected.newsgroup.toLowerCase())
ng_found = true, break;
if(ng[n].toLowerCase() == selected.newsgroup.toLowerCase()) {
ng_found = true;
break;
}
if(!ng_found)
hdr.newsgroups = selected.newsgroup + ',' + hdr.newsgroups;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment