mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-22 16:20:52 +01:00
* src/ejabberd_sm.erl: Bugfix
SVN Revision: 162
This commit is contained in:
parent
e5609f565a
commit
20dada9aca
@ -1,3 +1,7 @@
|
||||
2003-10-28 Alexey Shchepin <alexey@sevcom.net>
|
||||
|
||||
* src/ejabberd_sm.erl: Bugfix
|
||||
|
||||
2003-10-27 Alexey Shchepin <alexey@sevcom.net>
|
||||
|
||||
* src/ejabberd_auth.erl: Minor change in check_password/4
|
||||
|
@ -264,9 +264,15 @@ do_route(From, To, Packet) ->
|
||||
"message" ->
|
||||
route_message(From, To, Packet);
|
||||
"iq" ->
|
||||
Err = jlib:make_error_reply(
|
||||
case xml:get_attr_s("type", Attrs) of
|
||||
"error" -> ok;
|
||||
"result" -> ok;
|
||||
_ ->
|
||||
Err =
|
||||
jlib:make_error_reply(
|
||||
Packet, ?ERR_RECIPIENT_UNAVAILABLE),
|
||||
ejabberd_router:route(To, From, Err);
|
||||
ejabberd_router:route(To, From, Err)
|
||||
end;
|
||||
_ ->
|
||||
?DEBUG("packet droped~n", [])
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user