Skip to content

Commit

Permalink
Reindent block & pass logger object to gh_webhook
Browse files Browse the repository at this point in the history
Signed-off-by: Kaustav Das Modak <[email protected]>
  • Loading branch information
Kaustav Das Modak committed Jun 20, 2015
1 parent b64fa49 commit 8c5de1d
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions server.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,12 @@ var irc = { module: require("irc"), servers: {}, clients: {} },

// set up github webhook listener
var gh_webhook = require('githubhook')({
host: config.github.webhook.ip || "0.0.0.0",
port: config.github.webhook.port || 8081,
path: config.github.webhook.path || "push",
secret: config.github.webhook.secret
});
host: config.github.webhook.ip || "0.0.0.0",
port: config.github.webhook.port || 8081,
path: config.github.webhook.path || "push",
secret: config.github.webhook.secret,
logger: util
});

// Spin off IRC client instance
irc.clients.freenode = new irc.module.Client(config.irc.freenode.server, config.irc.freenode.nick, {
Expand Down

0 comments on commit 8c5de1d

Please sign in to comment.