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

Use the sub-board internal as the default 'listname' if there is 'from' key

specified in the sub-board sections of the listgate.ini

This resolves the reported run-time error (due to misconfiguration):
10/13 09:59:23p !JavaScript d:\sbbs\mods\listgate.js line 86:
TypeError: from is undefined
parent d4fb428a
No related branches found
No related tags found
No related merge requests found
......@@ -82,6 +82,9 @@ for(i in area) {
sub = area[i].sub;
from = area[i].from;
if(!from)
from = sub;
if(from.indexOf('@')<0) // automaticalliy append system's e-mail host/domain name
from+=('@'+system.inet_addr);
......
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