init.lua

changeset 5
d9ed6e7d9936
parent 3
d1a9fb6495c6
child 6
b0fec41e695b
equal deleted inserted replaced
4:1eaa469140e9 5:d9ed6e7d9936
135 end 135 end
136 end 136 end
137 end); 137 end);
138 138
139 c:hook("binding-success", function () b:start(); end) 139 c:hook("binding-success", function () b:start(); end)
140
141 if config.connect_host then
142 c.connect_host = config.connect_host
143 end
144 if config.connect_port then
145 c.connect_port = config.connect_port
146 end
140 147
141 c:connect_client(config.jid, config.password); 148 c:connect_client(config.jid, config.password);
142 149
143 verse.loop(); 150 verse.loop();
144 end 151 end

mercurial