mirror of
https://github.com/processone/ejabberd
synced 2025-10-03 09:49:18 +02:00
Merge branch 'master' of github.com:processone/ejabberd
This commit is contained in:
commit
157ff4d093
1 changed files with 1 additions and 1 deletions
|
@ -142,7 +142,7 @@ remove_connection(SID, LUser, LServer) ->
|
||||||
%% Register connection
|
%% Register connection
|
||||||
register_connection(SID,
|
register_connection(SID,
|
||||||
#jid{luser = LUser, lserver = LServer}, Info) ->
|
#jid{luser = LUser, lserver = LServer}, Info) ->
|
||||||
AuthModule = list_to_atom(binary_to_list(xml:get_attr_s(<<"auth_module">>, Info))),
|
AuthModule = xml:get_attr_s(auth_module, Info),
|
||||||
case AuthModule == (?MODULE) of
|
case AuthModule == (?MODULE) of
|
||||||
true ->
|
true ->
|
||||||
ejabberd_hooks:run(register_user, LServer,
|
ejabberd_hooks:run(register_user, LServer,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue