init.lua

changeset 24
330643a82a1d
parent 18
d7cd7ce93132
child 28
d0d1d88ec0ef
equal deleted inserted replaced
23:8670320bfd85 24:330643a82a1d
126 presence:add_child(b:caps()) 126 presence:add_child(b:caps())
127 end 127 end
128 b:send(presence); 128 b:send(presence);
129 end); 129 end);
130 130
131 c:hook("binding-success", function () b:start(); end); 131 c:hook("ready", function () b:start(); end);
132 132
133 if config.connect_host then 133 if config.connect_host then
134 c.connect_host = config.connect_host; 134 c.connect_host = config.connect_host;
135 end 135 end
136 if config.connect_port then 136 if config.connect_port then

mercurial