1
0
mirror of https://github.com/minetest-mods/irc_commands.git synced 2025-05-01 15:00:18 +02:00

Miscellaneous syntax changes

This commit is contained in:
ShadowNinja 2013-03-27 22:27:15 -04:00
parent 05d1c81f1f
commit 8980b78908

@ -14,7 +14,7 @@ mt_irc.register_bot_command("login", {
params = "<username> <password>",
description = "Login as a user to run commands",
func = function (from, args)
if (args == "") then
if args == "" then
mt_irc.say(from, "You need a username and password")
return
end
@ -44,7 +44,7 @@ end})
mt_irc.register_bot_command("cmd", {
params = "<command>",
description = "Run a command on the server";
description = "Run a command on the server",
func = function (from, args)
if args == "" then
mt_irc.say(from, "You need a command")