diff --git a/exec/privatemsg.js b/exec/privatemsg.js index 8640ea9a00191b6af33797a739056281eaea87ad..b81c5dc954b341d77d75b950ac60d487bb383fd4 100644 --- a/exec/privatemsg.js +++ b/exec/privatemsg.js @@ -18,7 +18,7 @@ var saved_node_action = bbs.node_action; outer_loop: while(bbs.online && !(console.aborted)) { - if(user.reststrictions&UFLAG_C) { + if(user.security.restrictions & UFLAG_C) { console.print(bbs.text(R_SendMessages)); break; }