diff --git a/exec/automsg.js b/exec/automsg.js
index af6a5057fa7d8e3c87e194ffa40e720ac9bfee07..52463ab6e8df7c0853417348cf3d6f5c8443cbf2 100644
--- a/exec/automsg.js
+++ b/exec/automsg.js
@@ -44,7 +44,7 @@ function automsg()
 					console.print(bbs.text(R_AutoMsg));
 					break;
 				}
-				bbs.action=NODE_AMSG;
+				bbs.node_action=NODE_AMSG;
 				bbs.nodesync();
 				console.print(options.intro || "\r\nMaximum of 3 lines:\r\n");
 				var str = console.getstr(str, options.max_line_len, K_WRAP|K_MSG);