server: Make alloc_handle use attributes instead of inherit flag.
diff --git a/server/mailslot.c b/server/mailslot.c
index c882896..f4accf2 100644
--- a/server/mailslot.c
+++ b/server/mailslot.c
@@ -429,8 +429,7 @@
     if ((mailslot = create_mailslot( root, &name, req->attributes, req->max_msgsize,
                                      req->read_timeout )))
     {
-        reply->handle = alloc_handle( current->process, mailslot,
-                                      req->access, req->attributes & OBJ_INHERIT );
+        reply->handle = alloc_handle( current->process, mailslot, req->access, req->attributes );
         release_object( mailslot );
     }
 
@@ -466,8 +465,7 @@
         writer = create_mail_writer( mailslot, req->access, req->sharing );
         if (writer)
         {
-            reply->handle = alloc_handle( current->process, writer,
-                                          req->access, req->attributes & OBJ_INHERIT );
+            reply->handle = alloc_handle( current->process, writer, req->access, req->attributes );
             release_object( writer );
         }
         release_object( mailslot );