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

Use the new system.get_node() method of reading node dab records.

parent 588e2def
No related branches found
No related tags found
No related merge requests found
......@@ -79,7 +79,7 @@ while(bbs.online && !(console.aborted)) {
for(var n = 0; n < system.node_list.length; n++) {
if(n == bbs.node_num - 1)
continue;
var node = system.node_list[n];
var node = system.get_node(n + 1);
if(node.status != NODE_INUSE)
continue;
if(node.misc & NODE_POFF)
......@@ -112,7 +112,7 @@ while(bbs.online && !(console.aborted)) {
users[n + w] = web_user.usernum;
}
console.mnemonics(bbs.text(NodeToPrivateChat));
var str = console.getstr(to_list[0], LEN_ALIAS, K_LINE|K_EDIT, to_list.slice(1));
var str = console.getstr(to_list[0], LEN_ALIAS, K_LINE|K_EDIT|K_AUTODEL, to_list.slice(1));
if(!str || console.aborted) {
console.aborted = false;
break;
......
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