Skip to content
This repository has been archived by the owner on Dec 12, 2019. It is now read-only.

Commit

Permalink
Check for optional arguments changed, closes #37
Browse files Browse the repository at this point in the history
  • Loading branch information
issue committed Aug 9, 2015
1 parent 63e0046 commit 16c08cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@ function buildArgs(streamURL, streamResolution) {
// Main
args = [currentURL, currentResolution];
// Optional arguments
if (prefs.optargs !== undefined) {
optArgs = prefs.optargs.split(",");
if (prefs.optargs) {
optArgs = prefs.optargs.split(",")
args = args.concat(optArgs);
}
return args;
Expand Down

0 comments on commit 16c08cf

Please sign in to comment.