Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Main
Synchronet
Commits
4d0a7e96
Commit
4d0a7e96
authored
Mar 14, 2022
by
Eric Oulashin
Browse files
Simplified the loadable module script (called argv.join(" ") to generate the arguments string)
parent
9b3ceae1
Pipeline
#2897
passed with stage
in 9 minutes and 54 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
10 deletions
+1
-10
xtrn/DDMsgReader/ddmr_lm.js
xtrn/DDMsgReader/ddmr_lm.js
+1
-10
No files found.
xtrn/DDMsgReader/ddmr_lm.js
View file @
4d0a7e96
...
...
@@ -2,14 +2,5 @@
// Message Reader in a different path
var
msgReaderPath
=
"
../xtrn/DDMsgReader
"
;
// Build a command line string and then run DDMsgReader
var
argsStr
=
""
;
for
(
var
i
=
0
;
i
<
argv
.
length
;
++
i
)
{
argsStr
+=
argv
[
i
];
if
(
i
<
argv
.
length
-
1
)
argsStr
+=
"
"
;
}
// Run Digital Distortion Message Reader
bbs
.
exec
(
"
?
"
+
msgReaderPath
+
"
/DDMsgReader.js
"
+
argsStr
);
\ No newline at end of file
bbs
.
exec
(
"
?
"
+
msgReaderPath
+
"
/DDMsgReader.js
"
+
argv
.
join
(
"
"
));
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment