Changeset

1233:f7b1992e4ff6

mod_register_web: Add missing =
author Kim Alvefur <zash@zash.se>
date Sat, 30 Nov 2013 22:10:07 +0100
parents 1232:12f59489ef6e
children 1234:da39ba4047a7
files mod_register_web/mod_register_web.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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,