Skip to content

Commit

Permalink
[fix] plugins, server: don't use opa option.
Browse files Browse the repository at this point in the history
  • Loading branch information
arthuraa committed Aug 27, 2012
1 parent 6bf54c8 commit 182f245
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/plugins/server/bslActor.nodejs
Expand Up @@ -24,9 +24,8 @@ function make(state, handler, ondelete, ctx, concurrent) {
*/
function make_cps(state, handler, ondelete, ctx, concurrent, k) {
var h = function(st, msg, ctx, fk){ handler(st, msg, ctx, cont(fk)) };
var d = option2js(ondelete);
// FIXME: There's one argument missing here
d = d ? opa_cps_callback_to_js_callback0(d) : null;
var d = ondelete ? opa_cps_callback_to_js_callback0(ondelete) : null;
var a = new LocalChannel(state, null, h, ctx, d, null, concurrent);
return_(k, a);
}
Expand Down

0 comments on commit 182f245

Please sign in to comment.