Skip to content
Snippets Groups Projects
Commit 7ae753c8 authored by echicken's avatar echicken
Browse files

If a sysop hasn't been found yet, we can't set their email address.

parent 4e7d6437
No related branches found
No related tags found
No related merge requests found
......@@ -231,7 +231,8 @@ function import_entry(bbs, text)
bbs.sysop[sysop] = { name: match[2] };
break;
case 'e-mail':
bbs.sysop[0].email = match[2];
if(bbs.sysop.length)
bbs.sysop[0].email = match[2];
break;
case 'web-site':
bbs.web_site = match[2];
......
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