From 99a70d78470243d715245e4b5acafb9615ddea2c Mon Sep 17 00:00:00 2001 From: Andrew Pamment Date: Mon, 5 Dec 2016 13:58:18 +1000 Subject: [PATCH] Fix lua logout script example --- scripts_examples/logout_stanza.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts_examples/logout_stanza.lua b/scripts_examples/logout_stanza.lua index 05d9891..2338308 100644 --- a/scripts_examples/logout_stanza.lua +++ b/scripts_examples/logout_stanza.lua @@ -3,7 +3,7 @@ function logout() cmd = bbs_read_char(); - if (cmd == 10) then + if (cmd == "n" or cmd == "N") then return 0; end