fix variable name shadowing

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
pull/21833/head
Michael Telatynski 2020-05-11 11:05:03 +01:00
parent 6ea9aebda3
commit 293bd15ee9
1 changed files with 1 additions and 1 deletions

View File

@ -993,7 +993,7 @@ export const Commands = [
command: "msg",
description: _td("Sends a message to the given user"),
args: "<user-id> <message>",
runFn: function(roomId, args) {
runFn: function(_, args) {
if (args) {
const matches = args.match(/^(\S+?)(?: +(.*))?$/s);
if (matches) {