remove // support, as it never worked
if you want to escape a /, do it with \/ or just precede with a space
This commit is contained in:
parent
4c3588d260
commit
79f7c5d6ab
2 changed files with 2 additions and 2 deletions
|
@ -434,7 +434,7 @@ module.exports = {
|
|||
// trim any trailing whitespace, as it can confuse the parser for
|
||||
// IRC-style commands
|
||||
input = input.replace(/\s+$/, "");
|
||||
if (input[0] === "/" && input[1] !== "/") {
|
||||
if (input[0] === "/") {
|
||||
const bits = input.match(/^(\S+?)( +((.|\n)*))?$/);
|
||||
let cmd;
|
||||
let args;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue