Commit 760f3d5a authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gaston

Minor fix.


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@777 b35dd754-fafc-0310-a699-88a17e54d16e
parent 65373d45
...@@ -252,7 +252,7 @@ public class RoutingTableImpl extends BasicModule implements RoutingTable { ...@@ -252,7 +252,7 @@ public class RoutingTableImpl extends BasicModule implements RoutingTable {
((Hashtable)nameRoutes).remove(nodeJID); ((Hashtable)nameRoutes).remove(nodeJID);
} }
} }
else { else if (nameRoutes != null) {
// The retrieved route points to a RoutableChannelHandler // The retrieved route points to a RoutableChannelHandler
if (((RoutableChannelHandler)nameRoutes).getAddress().equals(node)) { if (((RoutableChannelHandler)nameRoutes).getAddress().equals(node)) {
// Remove the route to this domain // Remove the route to this domain
......
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