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

Added safety check.

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@3336 b35dd754-fafc-0310-a699-88a17e54d16e
parent c2394c71
......@@ -80,6 +80,9 @@ public class RoutingTableImpl extends BasicModule implements RoutingTable {
}
public RoutableChannelHandler getRoute(JID node) {
if (node == null) {
return null;
}
return getRoute(node.toString(), node.getNode() == null ? "" : node.getNode(),
node.getDomain(), node.getResource() == null ? "" : node.getResource());
}
......
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