Commit 08cd7132 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Added missing parentesis.

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@9321 b35dd754-fafc-0310-a699-88a17e54d16e
parent a3eea44a
......@@ -294,8 +294,8 @@ public class IQRouter extends BasicModule {
}
try {
// Check for registered components, services or remote servers
if (recipientJID != null && routingTable.hasComponentRoute(recipientJID) ||
routingTable.hasServerRoute(recipientJID)) {
if (recipientJID != null &&
(routingTable.hasComponentRoute(recipientJID) || routingTable.hasServerRoute(recipientJID))) {
// A component/service/remote server was found that can handle the Packet
routingTable.routePacket(recipientJID, packet, false);
return;
......
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