init.lua

changeset 172
3420808b8d3f
parent 170
eae589a33624
equal deleted inserted replaced
171:7362add76bcd 172:3420808b8d3f
151 151
152 c:hook("ready", function () b:start(); end); 152 c:hook("ready", function () b:start(); end);
153 153
154 c:hook("disconnected", function () 154 c:hook("disconnected", function ()
155 print("Disconnected from server, riddim will exit now"); 155 print("Disconnected from server, riddim will exit now");
156 os.exit(); 156 os.exit(1);
157 end, -1); 157 end, -1);
158 158
159 if config.connect_host then 159 if config.connect_host then
160 c.connect_host = config.connect_host; 160 c.connect_host = config.connect_host;
161 end 161 end

mercurial