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 |