Skip to content

Commit c2c6953

Browse files
committed
fix
1 parent c22e831 commit c2c6953

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/rooms/WaitingRoom.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -795,11 +795,11 @@ WaitingRoom.prototype.parseSettings = function(settings) {
795795
throw new TypeError(where + 'REMOTE_DISPATCH invalid ' +
796796
'or missing url. Found: ' + r);
797797
}
798-
if (r.preprocess && 'function' !== typeof r.preprocess) {
798+
if (obj.preprocess && 'function' !== typeof obj.preprocess) {
799799
throw new TypeError(where + 'REMOTE_DISPATCH.preprocess must be ' +
800800
'function or undefined. Found: ' + r.preprocess);
801801
}
802-
this.REMOTE_DISPATCH = r;
802+
this.REMOTE_DISPATCH = obj;
803803
}
804804

805805
if ('undefined' !== typeof settings.PAGE_TITLE) {

0 commit comments

Comments
 (0)