Skip to content

Commit

Permalink
removed useless logging
Browse files Browse the repository at this point in the history
  • Loading branch information
julien51 committed Dec 23, 2011
1 parent c85efe6 commit f9e3a5c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions modules/s2s.js
Expand Up @@ -8,13 +8,11 @@ function S2S() {


exports.configure = function(server, config) { exports.configure = function(server, config) {
if(config) { if(config) {
console.log(config);


var s2s = new xmpp.Router(5269, server.options.bindAddress); // We only use 5269 has the default S2S port. var s2s = new xmpp.Router(5269, server.options.bindAddress); // We only use 5269 has the default S2S port.
// Load TLS key material // Load TLS key material
if (config.tls) { if (config.tls) {
console.log(config.tls); s2s.loadCredentials(config.domain, config.tls.keyPath, config.tls.certPath);
s2s.loadCredentials(server.options.domain, config.tls.keyPath, config.tls.certPath);
} }


// S2S plugged to C2S. // S2S plugged to C2S.
Expand Down

0 comments on commit f9e3a5c

Please sign in to comment.