mod_statsdx: Don't stumble over odd resource names

This commit is contained in:
Holger Weiss 2015-02-17 22:31:55 +01:00
parent 8e157279ca
commit 185fd7bb92
1 changed files with 1 additions and 1 deletions

View File

@ -224,7 +224,7 @@ remove_user(_User, Server) ->
user_send_packet(FromJID, ToJID, NewEl) -> user_send_packet(FromJID, ToJID, NewEl) ->
%% Registrarse para tramitar Host/mod_stats2file %% Registrarse para tramitar Host/mod_stats2file
case jlib:binary_to_atom(ToJID#jid.lresource) of case catch binary_to_existing_atom(ToJID#jid.lresource, utf8) of
?MODULE -> received_response(FromJID, ToJID, NewEl); ?MODULE -> received_response(FromJID, ToJID, NewEl);
_ -> ok _ -> ok
end. end.