Skip to content
Snippets Groups Projects
Commit ea7fb324 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Fix C-restriction check. Thanks for the report Mortifis.

parent a99ae0cf
No related branches found
No related tags found
No related merge requests found
...@@ -18,7 +18,7 @@ var saved_node_action = bbs.node_action; ...@@ -18,7 +18,7 @@ var saved_node_action = bbs.node_action;
outer_loop: outer_loop:
while(bbs.online && !(console.aborted)) { while(bbs.online && !(console.aborted)) {
if(user.reststrictions&UFLAG_C) { if(user.security.restrictions & UFLAG_C) {
console.print(bbs.text(R_SendMessages)); console.print(bbs.text(R_SendMessages));
break; break;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment