Skip to content

Commit

Permalink
Merge pull request #7 from cstim/cs-fix-number-of-arguments
Browse files Browse the repository at this point in the history
Fix number of argument checking from 64955ed
  • Loading branch information
steuck13 authored Nov 26, 2020
2 parents 519088b + 7f78906 commit aa077d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dcom/core/comserver.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class ComServer extends Stub {
this.comVersion = null;

// we can create a server with different types of arguments
if (arguments.length == 4) {
if (arguments.length >= 3) {
if (arguments[0] instanceof Session){
this.callType = 0;
} else if (arguments[0] instanceof Stub) {
Expand Down

0 comments on commit aa077d0

Please sign in to comment.