24
1
mirror of https://github.com/processone/ejabberd.git synced 2024-06-04 21:27:16 +02:00

* src/ejabberd_c2s.erl: Remove useless comment and port Alexey fix to 2.0.x branch.

SVN Revision: 1764
This commit is contained in:
Mickaël Rémond 2008-12-29 12:06:34 +00:00
parent df478a8e90
commit 1f57a380c8

View File

@ -1998,13 +1998,6 @@ check_from(El, FromJID) ->
(JID#jid.luser == FromJID#jid.luser) and
(JID#jid.lserver == FromJID#jid.lserver) and
(JID#jid.lresource == "") ->
%% We force the resource on the from attribute in the packet.
%% This is strictly needed only for IQ (to
%% reply to the client), but I do not see
%% any good reason for now not to do it on
%% all packets.
%% Need to be changed to support multiple
%% resource binding per connection.
El;
true ->
'invalid-from'