diff -r 72d3ca5225f3 -r eae589a33624 init.lua --- a/init.lua Wed Mar 15 12:10:00 2023 +0000 +++ b/init.lua Wed Mar 15 12:11:01 2023 +0000 @@ -151,6 +151,11 @@ c:hook("ready", function () b:start(); end); + c:hook("disconnected", function () + print("Disconnected from server, riddim will exit now"); + os.exit(); + end, -1); + if config.connect_host then c.connect_host = config.connect_host; end