Commit c4f0c023 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Do not print warn message with returned IQ error packets.

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@8524 b35dd754-fafc-0310-a699-88a17e54d16e
parent 1c5cb8e0
......@@ -255,7 +255,7 @@ public class IQRouter extends BasicModule {
namespace = childElement.getNamespaceURI();
}
if (namespace == null) {
if (packet.getType() != IQ.Type.result) {
if (packet.getType() != IQ.Type.result && packet.getType() != IQ.Type.error) {
// Do nothing. We can't handle queries outside of a valid namespace
Log.warn("Unknown packet " + packet);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment