Skip to content

Commit

Permalink
Plugger Bug Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
TimRohr22 committed Apr 10, 2024
1 parent 14a3f7a commit c755aa8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Plugger/1.0.8/Plugger.js
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ const Plugger = (() => {

const reconstructOps = (o, msg, msgstate, status, notes) => {
const runPlugin = c => {
const evalstmtrx = /^\s*(?<script>[^(\s]*)\s*\((?<args>.*?)\)(?<!\({&\d+}\))/gi;
const evalstmtrx = /^\s*(?<script>[^(\s]*)\s*\((?<args>.*?)\)(?<!\({&\d+}\))$/gi;
let ret;
let content = '';
if (evalstmtrx.test(c)) {
Expand Down
2 changes: 1 addition & 1 deletion Plugger/Plugger.js
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ const Plugger = (() => {

const reconstructOps = (o, msg, msgstate, status, notes) => {
const runPlugin = c => {
const evalstmtrx = /^\s*(?<script>[^(\s]*)\s*\((?<args>.*?)\)(?<!\({&\d+}\))/gi;
const evalstmtrx = /^\s*(?<script>[^(\s]*)\s*\((?<args>.*?)\)(?<!\({&\d+}\))$/gi;
let ret;
let content = '';
if (evalstmtrx.test(c)) {
Expand Down

0 comments on commit c755aa8

Please sign in to comment.