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 |