init.lua

changeset 5
d9ed6e7d9936
parent 3
d1a9fb6495c6
child 6
b0fec41e695b
--- a/init.lua	Wed Dec 23 01:00:13 2009 +0000
+++ b/init.lua	Mon Mar 22 10:50:55 2010 -0400
@@ -137,6 +137,13 @@
 	end);
 	
 	c:hook("binding-success", function () b:start(); end)
+
+        if config.connect_host then
+           c.connect_host = config.connect_host
+        end
+        if config.connect_port then
+           c.connect_port = config.connect_port
+        end
 	
 	c:connect_client(config.jid, config.password);
 	

mercurial