Commit 24a134b1 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gaston

Added sanity-check.


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/branches/jive_messenger_2_1_branch@1443 b35dd754-fafc-0310-a699-88a17e54d16e
parent 56b04dd6
...@@ -203,6 +203,9 @@ public class MUCRoleImpl implements MUCRole { ...@@ -203,6 +203,9 @@ public class MUCRoleImpl implements MUCRole {
} }
public void send(Packet packet) { public void send(Packet packet) {
if (packet == null) {
return;
}
packet.setTo(user.getAddress()); packet.setTo(user.getAddress());
router.route(packet); router.route(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