summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xjabberwall.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/jabberwall.pl b/jabberwall.pl
index e590d6d..23267ef 100755
--- a/jabberwall.pl
+++ b/jabberwall.pl
@@ -24,7 +24,7 @@ Config::Simple->import_from("$ENV{HOME}/.jabberwallrc", \%config);
my $clnt = new Net::Jabber::Client;
-my $status = $clnt->Connect(hostname=>$config{server}, port=>$config{port});
+my $status = $clnt->Connect(hostname=>$config{server}, port=>$config{port}, tls=>1);
if (!defined($status)) {
die "Jabber connect error ($!)\n";