} // end of else
}
private void setPermissions(XMPPResourceConnection conn,
Queue<Packet> results) {
Permissions perms = Permissions.NONE;
if (conn != null) {
perms = Permissions.LOCAL;
if (conn.isAuthorized()) {
perms = Permissions.AUTH;
if (conn.isAnonymous()) {