2005-10-13 Alexey Shchepin <alexey@sevcom.net>
+ * src/ejabberd_auth_odbc.erl: Bugfix
+
* src/mod_roster_odbc.erl: Bugfix
2005-10-07 Alexey Shchepin <alexey@sevcom.net>
catch ejabberd_odbc:sql_query(
jlib:nameprep(Server),
["delete from users where username='", Username ,"'"]),
- ejabberd_hooks:run(remove_user, jlib:nameprep(Server), [User])
+ ejabberd_hooks:run(remove_user, jlib:nameprep(Server),
+ [User, Server])
end.
remove_user(User, Server, Password) ->
"commit"]) of
{selected, ["password"], [{Password}]} ->
ejabberd_hooks:run(remove_user, jlib:nameprep(Server),
- [User]),
+ [User, Server]),
ok;
{selected, ["password"], []} ->
not_exists;