 		public function grant( affiliation:String, jids:Array ):void
 		{
 			var iq:IQ = new IQ( roomJID.escaped, IQ.TYPE_SET );
-			var owner:MUCOwnerExtension = new MUCOwnerExtension();
+			var adminExt:MUCAdminExtension = new MUCAdminExtension();
 
 			iq.callback = finish_admin;
 
 			for each ( var jid:UnescapedJID in jids )
 			{
-				owner.addItem( affiliation, null, null, jid.escaped, null, null );
-			}
-
-			iq.addExtension( owner );
+				adminExt.addItem( affiliation, null, null, jid.escaped, null, null );
+			}
+
+			iq.addExtension( adminExt );
 			_connection.send( iq );
 		}
 

		public function invite( jid:UnescapedJID, reason:String ):void
		{
			var message:Message = new Message( roomJID.escaped );
			var muc:MUCUserExtension = new MUCUserExtension();

			muc.invite( jid.escaped, undefined, reason );

			message.addExtension( muc );
			_connection.send( message );
		}


			}

			iq.callback = callback;
			ownerExt.destroy( reason, jid );

			iq.addExtension( ownerExt );
			_connection.send( iq );
		}
		
