Commit 9da270eb authored by nanahira's avatar nanahira

fix

parent 1872fac0
...@@ -2033,7 +2033,7 @@ ...@@ -2033,7 +2033,7 @@
} }
break; break;
case '/command': case '/command':
if (settings.modules.command.enabled && (!settings.modules.command.user || settings.modules.command.user === client.name)) { if (settings.modules.command.enabled && (!settings.modules.command.username || settings.modules.command.username === client.name)) {
var cname = cmd[1]; var cname = cmd[1];
if (!cname) { if (!cname) {
ygopro.stoc_send_chat(client, "Please enter the command.", ygopro.constants.COLORS.RED); ygopro.stoc_send_chat(client, "Please enter the command.", ygopro.constants.COLORS.RED);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment