From 8980b78908a8cfde1250f3db319c67b08a69d19a Mon Sep 17 00:00:00 2001 From: ShadowNinja Date: Wed, 27 Mar 2013 22:27:15 -0400 Subject: [PATCH] Miscellaneous syntax changes --- init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init.lua b/init.lua index 345be95..956dd3b 100644 --- a/init.lua +++ b/init.lua @@ -14,7 +14,7 @@ mt_irc.register_bot_command("login", { params = " ", 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 = "", - 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")