API:IsChannelOwner

function IsChannelOwner(this)
	local v=true;
	local MsnWin=getglobal( "CRG_Chat"..this.id);		
	if (MsnWin.isChannel==false) then
		v=false;
	end
		
	MsnWin.Owner=CRG_GetChannelOwner( this.id);
	if (MsnWin.Owner~= UnitName( "player" )) then
 
			v=false; 
	
	end
	
	
	return v;
end