diff --git a/init.lua b/init.lua index 5aef834..d83095c 100644 --- a/init.lua +++ b/init.lua @@ -39,7 +39,7 @@ irc:register_bot_command("login", { if args == "" then return false, "You need a username and password." end - local playerName, password = args:match("^(%S+)%s(%S+)$") + local playerName, password = args:match("^(%S+)%s(.+)$") if not playerName then return false, "Player name and password required." end