diff --git a/exec/chat_sec.js b/exec/chat_sec.js
index bb5a1e0938174739df701e70a4626171734d191c..058766fc4d209963870d4193ae10ac95b3ce7640 100644
--- a/exec/chat_sec.js
+++ b/exec/chat_sec.js
@@ -40,13 +40,13 @@ while(1) {
 		case "A":
 			writeln("");
 			user.chat_settings ^= CHAT_NOACT;
-			bbs.node_settings ^= NODE_AOFF;
+			system.node_list[bbs.node_num-1].misc ^= NODE_AOFF;
 			bbs.whos_online();
 			break;
 		case 'D':
 			writeln("");
 			user.chat_settings ^= CHAT_NOPAGE;
-			bbs.node_settings ^= NODE_POFF;
+			system.node_list[bbs.node_num-1].misc ^= NODE_POFF;
 			bbs.whos_online();
 			break;
 		case 'F':