Skip to content

Commit

Permalink
Expose and track plugins provided through opts
Browse files Browse the repository at this point in the history
  • Loading branch information
DamonOehlman committed Jul 21, 2014
1 parent 9bdc220 commit 956b019
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,9 @@ module.exports = function(signalhost, opts) {
// create the known data channels registry
var channels = {};

// save the plugins passed to the signaller
var plugins = signaller.plugins = (opts || {}).plugins || [];

function callCreate(id, pc, data) {
calls.set(id, {
active: false,
Expand Down

0 comments on commit 956b019

Please sign in to comment.