# HG changeset patch # User Kim Alvefur # Date 1385845807 -3600 # Node ID f7b1992e4ff64fb689e024a7c74aa9e9d8482f72 # Parent 12f59489ef6e69082e3f36976b4e68d38d0bbb35 mod_register_web: Add missing = diff -r 12f59489ef6e -r f7b1992e4ff6 mod_register_web/mod_register_web.lua --- a/mod_register_web/mod_register_web.lua Sat Nov 30 20:29:49 2013 +0100 +++ b/mod_register_web/mod_register_web.lua Sat Nov 30 22:10:07 2013 +0100 @@ -108,7 +108,7 @@ if usermanager.user_exists(prepped_username, module.host) then return nil, "Username already taken"; end - local ok, err usermanager.create_user(prepped_username, form.password, module.host); + local ok, err = usermanager.create_user(prepped_username, form.password, module.host); if ok then module:fire_event("user-registered", { username = prepped_username,